This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes Problem invoking filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem invoking filter" Watch "Problem invoking filter" New topic
Author

Problem invoking filter

Murtuza Akhtari
Ranch Hand

Joined: Aug 07, 2004
Posts: 108
I am using form based authentication and so i have, in my login.jsp

<form method = "POST" action = "j_security_check">

Also I have a filter to do some post login processing..but my filter is not invoked although i can log in correctly using LDAP

it is defined in my web.xml as follows

Am I doing this right?
What url-pattern do I have to map to? I dont have any other servlet in this(just the one created by the j_security_check)

my doFilter method is :

Can someone help me as to where I am going wrong?
Thanks in advance.
[ November 24, 2004: Message edited by: Murtuza Akhtari ]

---<br />SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem invoking filter
 
Similar Threads
Filters - not working for me..
request does not pass to action
Servlet Filter problems
Filters....not working for me :(
LoginFilter & j_security_check