A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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 jsp 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
redirecting useing session in jsp
Securing an application
Session Time Out
on session expire in iframe - open login page in parent window
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014