views:

22

answers:

2

Hi,

I am very new to Spring framework in general. How 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

A: 

If you use an interface based Controller than use manual dispatching to your methods, otherwise you have to use annotations I believe.

Timo Westkämper
I went through the Spring MVC tutorial online and got my answer there. The use of MultiActionController is what I was looking for anyways thank you for your reply.
manu sha
Don't forget to upvote, if my answer was of any use to you.
Timo Westkämper
A: 

You want Spring MVC's convention over configuration support. Check out ControllerClassNameHandlerMapping.

James Earl Douglas

related questions