This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, Iam getting "Session Expired" Message & a session expired exception message (com.dcom.servelts.SessionexpiredException : Session Expired at com.dcom.servelts.handle.getSessionData()) on the screen , when my session is expired.
I need to display only "Session Expired" message on the screen.(not both)
But still i am getting both..( SessionExpired message & Exception)
why it is keep saying where the session is expired ..
com.dcom.servlets.framework.SessionExpiredException: Session Expired at com.wbiForm.performService(JoinForm.java:136) at com.dcom.servlets.framework.ServletFramework.Service(ServletFramework.java:1051) at com.dcom.servlets.framework.ServletFramework.doPost
[ December 30, 2005: Message edited by: Bhaskar Gara ]
Joined: Aug 15, 2004
Try something like below.
Joined: Jan 23, 2004
Thanks for your reply.I changed my code like... <error-page> <exception-type>com.dcom.servlets.framework.SessionExpiredException</exception-type> <location>/JoinForm</location> </error-page> JoinForm is javaservlet Still iam getting same exception
Why do you have the location as joinForm? The location element should contain the page (jsp, html) you want displayed to the user when the error occurs. You can get more info if you search the forum or the web at large.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley