This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem invoking filter" Watch "Problem invoking filter" New topic

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:
subject: Problem invoking filter
jQuery in Action, 3rd edition