This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.springframework.web.servlet.DispatcherServlet noHandlerFound. No mapping found for HTTP request

 
Volodymyr Lysenko
Ranch Hand
Posts: 511
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

In web.xml I have DispatcherServlet mapped as follows:


My spring controller is

EmployeeController is successfully instantiated and this handler method is registered which I can see in log file.
I type in browser - http://localhost:8080/timesheet/employees - and receive this warning

Method showAllEmployees is called which is logged! Then DispatcherServlet tries to handle path to list.jsp instead of InternalViewResolver.
How to tell DispatcherServlet not to handle path to my page. Meanwhile I don't want to change url - http://localhost:8080/timesheet/employees
I was looking for answer on another sites but it didn't help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic