• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Bin Smith
Ranch Hand
Posts: 514
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Boost this thread!