wood burning stoves 2.0*
The moose likes Struts and the fly likes struts 1.3 session authorization filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1.3 session authorization filter" Watch "struts 1.3 session authorization filter" New topic
Author

struts 1.3 session authorization filter

Jomy George
Ranch Hand

Joined: Jan 13, 2011
Posts: 65
hi friends,

i have to maintain session in my struts application. i decided to so it using a filter.
my application acontaing a login page and about 12 other pages.

i created a filter class and configured it in web.xml

in web.xml i used filter as this



now my issue is that i cant even login as it redirect to login.jsp all time.
how can i solve this? how can i avoid login.jsp from going through filter class?

thanks in advance...
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hope this work around would help


Have Fun with Java
little,little.. little by little makes a lot..
Jomy George
Ranch Hand

Joined: Jan 13, 2011
Posts: 65
thanks Shankar Tanikella
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts 1.3 session authorization filter
 
Similar Threads
Filter Problems in Web.xml
Keep getting Redirected to my Login Page
"No configuration found for the specified action" error in struts2
Struts Filter in Web.xml
Problem with session timeout