-
Session Expiry issue (1 messages)
- Posted by: gokul M
- Posted on: November 13 2006 05:13 EST
Hi All, I am using Struts in web module in my J2EE application. When session expires, I want to forward to error.jsp. How can I implement this? Thanks in advance. Regards GokulThreaded Messages (1)
- Re: Session Expiry issue by Amin Mohammed-Coleman on November 13 2006 10:22 EST
-
Re: Session Expiry issue[ Go to top ]
- Posted by: Amin Mohammed-Coleman
- Posted on: November 13 2006 10:22 EST
- in response to gokul M
I would recommend using a servlet filter that checks if the session is still alive or expired. The filter will intercept requests and before invoking the request will check whether the session is valid or not. In the filter you can define which requests to include or exclude. Thanks Amin