Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

How to solve "No mapping found for HTTP request with URI" in SpringMVC

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
welcomeWebPage.html


controlller.jsp


controlller1.jsp



web.xml



dispatcher-servlet.xml


controlllerResult.jsp


controlllerResult1.jsp


HelloController.java



HelloController1.java


Server Log



I have given a program's whole code. This a simple Spring MVC program. I have also given the server log. The programs one link is working but another is not working. Showing 404 error.
Then in the server log i have found the message that i have given. But i am not understanding why it is showing that no mapping  found for [/SpringMVC_1/h.ds].
Would you please tell where i have made the wrong.
FolderStructure.PNG
[Thumbnail for FolderStructure.PNG]
 
Sheriff
Posts: 9691
42
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the exact URL that you are entering in your browser? If you are entring http://localhost:8080/SpringMVC_1/h.ds then can you also try http://localhost:8080/h.ds and see if it works. I'm not sure what's the context path on which you have your application deployed. If you open http://localhost:8080/SpringMVC_1/ does it show the welcome html page?
 
reply
    Bookmark Topic Watch Topic
  • New Topic