java - is default handler mapping is overridden when we create custom handler mapping in spring mvc? -


I want to know that we have been created by custom handler mapping spring MVC framework override if we make our custom handler mapping. I suspect because I have created custom handler mapping in two projects in the same

  1. Binnamehandler Mapping
  2. SimpleUrlHandlerMapping has been injected into the Dispatcher Servlet but in each other the dispatcher Not registered in servlet

I am using different versions of the Spring 3 framework for these two projects because of the version change in Spring 3

me The default handler mapping is not found in Saint 3.0, but the higher version is getting in the

thanks

your custom handler mapping so that it has other registered handler mapping.

Explanation

Detect handler mapping available in the web context DispatcherServlet is a part of initialization:

< P> Enter image details here

this way, all registered handler mapping and as you can see that they have been sorted by their determined order

Otherwise, Mapping is falling back to the default handler: BeanNameUrlHandlerMappin G


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -