This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes The requested URL /market/spring/home was not found on this server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "The requested URL /market/spring/home was not found on this server" Watch "The requested URL /market/spring/home was not found on this server" New topic
Author

The requested URL /market/spring/home was not found on this server

irshad irshadoz
Greenhorn

Joined: Jan 16, 2013
Posts: 6
Hello,

i am new to spring and i have created an application using SpringMvc 3.0 famework. My issue is that when i run my application in eclipse juno on Tomcat 7 i get the page not found error message.

I am assuming that my mapping is not done correctly.

Please see below my config:

Web.xml (path:market\src\main\webapp\WEB-INF\Web.xml) :



My file presentation.xml(path:market\src\main\resources\spring\presentation.xml)


this is my controller:



My login.jsp is found in the following folder :

market\src\main\webapp\WEB-INF\views\

Any ideas why i get the page not found error?

i should get the page login.jsp instead

thanks in advance.
irshad irshadoz
Greenhorn

Joined: Jan 16, 2013
Posts: 6
my apologies its working fine i got the url wrong
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The requested URL /market/spring/home was not found on this server
 
Similar Threads
javax.servlet.ServletException: No adapter for handler
STS springMVC project how to run on tomcat application
Some beginner question about annotation configuration in Spring 3.1
javax.servlet.ServletException: Could not resolve view with name home-- apache Velocity, spring
REST web service return both XML or JSON