Priety Sharma wrote:I want to know what are the 3 different ways to implement Spring MVC?
I tried to read it in the Spring in Action book but could not find it there.
Was this one of your interview questions?
Against my better judgement here is an answer
1) Have your Controller implement one of the Controller interfaces (Very Old Style)
2) XML mapping of your requests to Controllers
3) Annotations in your Controller.
That is the short quick answer.
Mark