Hi Sven
Check out the sample apps in the Spring distribution directory. /petclinic is pretty basic.
What is the correct way of dealing with the fact that the bean backing the loginform (mine uses <spring:bind ../> )needs to be present in the context on every page?
If you have that request on your app, then put the loginform backing object in the HttpSession, and retrieve it in every subsequent controller, using either "normal" code or AOP.
Code:
What is the correct way of obtaining and using the return view?
You declare it in the servlet-xml or by method setSuccessView() in the controller.
Sincerely,
/The Cantor
"Murphy was an optimist"
(The O'Toole commentary on Murphy's Law)