A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Redirect to login page
Joined: Sep 04, 2007
Feb 01, 2010 02:34:08
I am new to
. Just want to redirect users to login page when user click logout or session time expires.
Currently i am checking the session in every
page . But is to difficult to maintain it. Also same code get repeated over several jsp page.
Can it be possible with some centralized manner.
Please help in this regard. Thanks in Advance
Joined: Sep 29, 2008
Feb 01, 2010 05:22:15
Which version of Struts?
Use a filter, a custom request processor, a base action class, ...
I agree. Here's the link:
subject: Redirect to login page
on session expire in iframe - open login page in parent window
Securing an application
Session Time Out
redirecting useing session in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015