In my controller,My controller method names are equals to the requestmapping url.For example,/list is equal to method name list. Is there has a com
/list
list
You can extend to AbstractControllerUrlHandlerMapping and override the method and add bean in web.xml.
AbstractControllerUrlHandlerMapping
Here is an example.