How to check user session availability in Struts application
Posted on 2008-10-17
Our application is based on Struts and JSP. My problem is if somehow if the user is getting the URL of any page in our application and accessing that page directly with out login, actually it should not display the requested page. instead it should take the user to the login page. The easiest way is to check for the user session in each and every page. But i want to centralise this at one particular point.
Can i know the solution if there is any way to do in this manner.