This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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..
Servlet Filter problems
Filters....not working for me :(
request does not pass to action
LoginFilter & j_security_check