wood burning stoves 2.0*
The moose likes Security and the fly likes Filter Problems in Web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Filter Problems in Web.xml" Watch "Filter Problems in Web.xml" New topic
Author

Filter Problems in Web.xml

Robert Wiscup
Ranch Hand

Joined: Oct 18, 2009
Posts: 45
Hi All,

I'm relatively new to Struts and I am working on security issues. Specifically, I'm trying to implement a Struts 1.3 Filter in my web.xml file and I'm having a little trouble . . .

I want login.jsp to not pass through the filter. Every other .jsp call I want to pass through the filter.
I have a folder under Web Content called "secure". I place all the "secure" .jsps in this folder.

So far I have:




When I execute login.jsp I go to another .jsp that is in the secure folder but it's not executing the filter. Can someone assist me?

Thanks,

Rob
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Filter Problems in Web.xml
 
Similar Threads
struts 1.3 session authorization filter
Do I have to choose only one view solution in Struts2?
Using a filter to secure a set of servlets.
Struts Filter in Web.xml
Invalid url pattern for filter in web.xml