Hi, after successufull login I wan't to store some additional info about user which will be shown on every jsp page in application (for example: where logged user is working, etc.).
I solved this way:
Default page of app is index.htm with redirection to loginController which is just concrete implementation of Controller interface. in handleRequest method I just store some attributes in session.
Problem is, if session expire or if user attempt to get some other page instead of default it will never get to loginController, so required attributes would not be in session scope.
Any idea how to solve this?
Thanks in advance. Regards.