Session Expiry issue


Web tier: servlets, JSP, Web frameworks: Session Expiry issue

  1. Session Expiry issue (1 messages)

    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 Gokul
  2. Re: Session Expiry issue[ Go to top ]

    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