| Author |
Handling session timeout with errorPage
|
Rajendar Goud
Ranch Hand
Joined: Mar 06, 2002
Posts: 220
|
|
Hi, i have a web application,which uses ErrorPage for displaying jsp errors. Iam trying to implement Session Time out ,and when it happens, i wanted to show a custom message thru 'isErrorPage'. In the isErrorPage , iam using the 'exception' object to display the messages. But when the session expires, the isErrorPage is displaying a message 'null' instead of an exception. How can i trap the session expiry and display a custom message. Any suggestions? Thanks raj
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Did you set the isErrorPage directive to true in your error page?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Rajendar Goud
Ranch Hand
Joined: Mar 06, 2002
Posts: 220
|
|
Yes , i have the isErrorPage="true" in the Errorpage.
|
 |
 |
|
|
subject: Handling session timeout with errorPage
|
|
|