File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts Filter in Web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Filter in Web.xml" Watch "Struts Filter in Web.xml" New topic
Author

Struts Filter 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
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Robert Wiscup wrote:When I execute login.jsp I go to another .jsp that is in the secure folder but it's not executing the filter.

http://faq.javaranch.com/java/TellTheDetails


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts Filter in Web.xml