Is there something similar to Struts 2 Preparable interface / prepare method in Spring 3 MVC?
That is, a method executed every time the controller is requested.
Thanks.
EDIT: What I want to achieve, for example, is to fill a group of properties depending on the user I am, for every request in this controller, trying to avoid this:
@Controller
@RequestMapping("my")
public class MyController {
private void fillProperties() {...}
public void request1() {
fillProperties();
...
}
public void request2() {
fillProperties();
...
}
}