Tomcat, as a servlet/jsp container, has knowledge of j_security_check
itself.
Your FORM-based authentication may passing thrugh the HTTP server, i.e.,
apache, and the problem behind of your problem may caused by the HTTP
server which does not know how to forward from the HTTP server to Tomcat,
i.e., forwarding mechanism for Servlet/JSP handling.
Does it make sense to you?
Pae
-----Original Message-----
From: P.Miller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, June 05, 2001 12:45 AM
Subject: AUTH: j_security_check
>Hi,
>
>I tried the FORM-authentification in Tomcat 3.2.1:
>
>login.jsp:
>
><form method="POST" action="j_security_check" >
>Username: <input type="text" name="j_username"><br>
>Password: <input type="password" name="j_password"><br>
><br>
><input type="submit" value="login" name="j_security_check">
></form>
>
>I get the correct Form but when I press 'submit', I allways get the
>error:
>
>URL j_security_check not found
>
>So I searched for a java-class or a method inside a class which is
>called 'j_security_check' but found only a CONSTANT with this name and
>not method or class-file.
>
>What's the meaning of this URL and where should I declare it that TOMCAT
>can find it?
>
>Many thanks for your help,
>Peter