• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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

 
Ranch Hand
Posts: 514
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic