This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Filter Problems in Web.xml" Watch "Filter Problems in Web.xml" New topic

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?


I agree. Here's the link:
subject: Filter Problems in Web.xml
It's not a secret anymore!