开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜