Hello. I have to check in my application if the user has a valid session in every page and, if not, redirect him to the login page. What is the best way of doing this?
I see 3 options: 1. Put an include or tag in every page that checks this 2. Check this in my struts action 3. Use a servlet filtering to filter all .jsp or .do requests I'm thinking about adopting solution number 3. Is it the best aproach? Thanks, JP