tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Paul" <>
Subject Problem with POST and FORM based authentication
Date Sat, 02 Feb 2002 16:58:32 GMT
Dear all,
I am trying to apply a security contraint on POST requests to my servlet. I 
specifed it in my web.xml as:






I defined the login config as follows:



When I send a POST request to TestServlet from the brower (by submitting a 
form), I get the login.html page as expected. However, when I submit the 
username/password , doGet of TestServlet is getting called instead of 

To be sure that my settings are all right, I changed the login-config from 
FORM to BASIC, and everything worked fine. ie., after submitting the login 
page, doPost of the servlet is called. So, it's only with the FORM based 
authentication that there is a problem.

I also tested this configuration on JRun and it also has the same issue. Can 
somebody please throw some light on it? May be I am not doing something 

Please help,

Send and receive Hotmail on your mobile device:

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message