struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asim Ghosh <asimghos...@yahoo.co.uk>
Subject RE: redirect to login page with error message on the jsp page
Date Fri, 30 Jul 2004 15:33:16 GMT
Are u sure that this will work because i have tried this already. 
 
Asim

"Gupta, Sahil" <sagupta@webmd.net> wrote:
If the session object is invalidated(timed out), add the action errors in
the request and call the saverequest(errors, req) in the action servlet and
do a mapping.findForward to the login page. The login page should display
the errors from the html:errors tag.

Pretty straight forward.

Sahil

-----Original Message-----
From: Asim Ghosh [mailto:asimghosh26@yahoo.co.uk]
Sent: Friday, July 30, 2004 11:19 AM
To: user@struts.apache.org
Subject: redirect to login page with error message on the jsp page


hello,

can anybody tell me how to redirect to login page with error message on
the jsp page. It should display error message "You session has timed out"
on the login page.

in web.xml


30





---------------------------------
ALL-NEW Yahoo! Messenger - all new features - even more fun! 

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


		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message