This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
can you please explain what is the whole flow from request to response(before which session times out)?
what is the error message you are getting on console/logs??
are you making a database call, if yes, what is its time-out?
I came to this world on a Learner's License
Joined: Oct 14, 2010
Thanks For Reply,
Williams: "How are you determining that the session has timed out? "
Iam getting NullPointerException 500.In web.xml i configured a servlet "ErrorHandler" which is invoked when any 500 exception occurs.
In that servlet ,iam also checking the session. I'm puttin the code here.
In ErrorHandler, i got the session object. I already had the empcode in the session.
In the code iam checking whether the session attribute exists or not..if doesnot exist then session is timed out and shows the expiry message..
After relogin application is working properly..
if i don't click on any link or just sit idle for 10 to 15 min's session is expired.
Any one having any solution please help me...