tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xia, Alex" <>
Subject Bug or Feature? Additional parameters not passed for FORM login p age in Tomcat 3.2 b7
Date Thu, 16 Nov 2000 22:01:00 GMT
I have been trying to retrieve additional field information from the FORM
login page without success. Basically I am using the following login.jsp but
could not get "my_field".

<h1>Login page for examples</h1>

<form method="POST" action="j_security_check" >
 <input type="text" name="j_username"> 
 <input type="password" name="j_password"> 
 <input type="text" name="my_field">
 <input type="submit" name="j_security_check">


The println statement always prints null.

The same thing holds true if I try to use request.getParameter("my_field")
inside the

Nothing is said in the Servlet Spec for FORM based login NOT to pass
additional fields. Is this a Tomcat bug?


Alex X. Xia
Sonus Networks, Inc.
(978) 392-8114

View raw message