I’m new to Spring and Spring MVC. I’m trying to implement a basic web-application to test the functionalities of this framework and I’m finding some difficulties.
I discovered that from version 3, annotations brought many advantages so, controller classes do not have to implement abstract classes (i.e. SimpleFormController), but this means that there are not mandatory methods to implement.
So my question is: which are the common useful methods that one should implement in a controller class?
You only have to implement the methods you wish to correspond to the actions from your various webpages – e.g. to accept the input of a form.
What specific difficulties are you having?