Spring MVC BeanNameUrlHandlerMapping Example

HandlerMapping is an Interface to be implemented by objects that define a mapping between requests and handler objects. By default DispatcherServlet uses BeanNameUrlHandlerMapping and DefaultAnnotationHandlerMapping. In Spring we majorly use the below handler mappings

  1. BeanNameUrlHandlerMapping
  2. ControllerClassNameHandlerMapping
  3. SimpleUrlHandlerMapping

[Read more…]