File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Session validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Session validation" Watch "Session validation" New topic

Session validation

palanisamy subramani

Joined: Aug 30, 2010
Posts: 29
In struts 2,
On each request, i have to validate whether user session exists or not, if not forward to login page.

Doing the above logic using a before action interceptor is a good idea. ?
I agree. Here's the link:
subject: Session validation
It's not a secret anymore!