Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6114081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:55:58+00:00 2026-05-23T14:55:58+00:00

I have following app setup. The dispatcher servlet is matched to the *.htm URL

  • 0

I have following app setup.

  • The dispatcher servlet is matched to the *.htm URL pattern.
  • Controller has the annotation @RequestMapping(value = "doSuccess")
  • The method for the above annotation just returns new ModelAndView("success");

 <bean id="jspViewResolver"
      class="org.springframework.web.servlet.view.InternalResourceViewResolver"
      p:prefix="/WEB-INF/jsp/"
      p:suffix=".jsp" 
      p:order="1"/>

  • The index page has the link

<a href="doSuccess.htm">Click me</a>

  • There is a file called success.jsp located in /WEB-INF/jsp/

Now, when I click on the Click me, I get a 404. I did a bit of debugging and realized that the method in the controller was indeed being called but irrespective of the return statement it is trying to find doSuccess.htm.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:55:59+00:00Added an answer on May 23, 2026 at 2:55 pm

    I figured the error. I was using Netbeans and i used the auto complete imports. It was importing the org.springframework.web.portlet.ModelAndView instead of servlet.ModelAndView.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an android app with the following Alarms setup: Alarm A is of
I have the following routes in my app: GET /admin/comments(.:format) {:controller=>admin/comments, :action=>index} admin_comments POST
I have the following setup: class App.Views.Maps extends Backbone.View el: '#map' events: initialize: ->
I'm developing an app for iPhone 3.1.3. I have the following class: @interface Pattern
I have the following setup in my rails app: A user registers and he
I am pretty new to backbone.js. I have the following setup Scripts |--App |
I have the following setup: app/assets/stylesheets/application.css.scss /* *= require_self *= require fancybox */ /*
I have the following combobox: <g:select name=ticketType from=${app.domain.enums.TicketType?.values()} keys=${app.domain.enums.TicketType.values() } value=${ticketInstance?.ticketType} noSelection=${['null': 'Select One...']}
I have a following setup: App - Magnolia site running under Tomcat 6.0.16 ISAPI
I have the following setup in app.config: <hibernate-configuration xmlns=urn:nhibernate-configuration-2.2 > <session-factory name=Nh.Data> <property name=connection.provider>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.