You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sloan Seaman <sl...@sgi.net> on 2003/02/13 15:47:59 UTC
Form based security
I'm attempting to do form based security and I keep getting a 404 error when
I click the submit button.
I'm guessing I'm missing some type of configuration in the server.xml.....
The form I am using is:
<form method="POST" action="j_security_check">
<input type="text" name="j_username"/>
<input type="password" name="j_password"/>
<input type="submit" value="Submit">
</form>
And I have the following in my web.xml
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/login-error.jsp</form-error-page>
</form-login-config>
</login-config>
Can anyone help me out here?
--
Sloan
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org