Spring MVC - How to map individual methods in a controller without anotation use
I am very new to Spring framework in general. How开发者_如何学Go can I map individual methods in a controller, so that I can call any other method other than handleRequestInternal for example. Also I do not want to use annotation (@RequestMapping).
Thank you manu
If you use an interface based Controller than use manual dispatching to your methods, otherwise you have to use annotations I believe.
You want Spring MVC's convention over configuration support. Check out ControllerClassNameHandlerMapping.
精彩评论