Im bit confused so be patient if im trying to do something wrong : -)
In some MVC frameworks you can call controller action from the view if you whish to execute some code and render some partial view. Im not sure what is the correct way to do it in Spring MV
I want to have set of JSP templates. Some of them will be page layouts some of them will be small components like paginator, login box, menu, tag cloud etc etc etc. Each of these component need some beans or controller action to set some data into ViewAndModel so that view could use it.
The problem is i dont want to set all these objects in ecach call. My register controller cares only about regstration processing. So now how do i do it right? how do i call DI beans or controllers from the view to prepare partial views? Or should i create some mappings? or am i approaching the problem from totally wrong angle?