Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Filter in Web.xml

 
Robert Wiscup
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic