File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Spring MVC question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC question" Watch "Spring MVC question" New topic
Author

Spring MVC question

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Spring 3.0.5
Tomcat 7.0.12


Hello:

I am new to Spring MVC and having trouble. When I enter the URL "http://localhost:8080/FantasyPro/"
I get a 404 and the following message appears in my console:

WARNING: No mapping found for HTTP request with URI [/FantasyPro/] in DispatcherServlet with name 'fantasypro'

I am trying to get to /index.html.
Here is my controller:




Here is my web.xml:



Here is my context file (fantasypro-servlet.xml):



This is driving me nuts. Can anybody see a problem?

Thanks,
Eric
John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
anybody?
Gaurav Sandil
Greenhorn

Joined: Aug 24, 2008
Posts: 14
Hi John,

I am experiencing the same problem. If you got the solution then do tell me.

Thanks in advance.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Gaurav Sandil wrote:Hi John,

I am experiencing the same problem. If you got the solution then do tell me.

Thanks in advance.


This thread is a bit old. So the OP might not be around.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC question
 
Similar Threads
Problem finding index page under WEB-INF / Spring MVC
org.springframework.web.servlet.DispatcherServlet noHandlerFound
STS springMVC project how to run on tomcat application
Spring MVC
Problem running app under Tomcat v7