struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bhaarat Sharma" <bhaara...@gmail.com>
Subject Transfer user to login page on session timeout
Date Thu, 08 May 2008 16:17:34 GMT
Hello

I am using struts 1

I am working on some legacy code. Have a requirement where the user should
be fwded to the login page after session times out.  Currently there are
100's of action classes and it wont be feasible to touch each one and check
if the session exists.

Can we do something in struts 1 so that all requests go through the initial
action...there I can check for session object..if it does not exist then I
can forward it to the login page.

Thanks for any help!!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message