struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayak Birari" <vinayak_bir...@onwardgroup.com>
Subject Re: Session Times Out
Date Mon, 03 Nov 2003 10:27:39 GMT
hi,
you can inform the user by using the request object
bind ur message by :
request.setAttribute("messageName", "session timed out!!");
retrieve the message by  : request.getAttribute("messageName");
hope this helps u.
regards,
Vinayak.

----- Original Message ----- 
From: "Caroline Jen" <jiapei_jen@yahoo.com>
To: <struts-user@jakarta.apache.org>
Sent: Monday, November 03, 2003 11:53 AM
Subject: Session Times Out


> I check if session expires for each action in the
> application.  If the session times out, I forward the
> user to index.jsp so that the user can log on again.  
> 
> How do I inform the user with a message that he/she is
> at the welcome page because the session has expired?
> 
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message