File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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