A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Redirect to login page
RaviSingh Kumar
Ranch Hand
Joined: Sep 04, 2007
Posts: 52
posted
Feb 01, 2010 02:34:08
0
Hi,
I am new to
struts
. 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
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Feb 01, 2010 05:22:15
0
Which version of Struts?
Use a filter, a custom request processor, a base action class, ...
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Redirect to login page
Similar Threads
Securing an application
on session expire in iframe - open login page in parent window
Session Time Out
redirecting page
redirecting useing session in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter