You need to have your j_security_check URL from the root of the
WEBAPP.  For example, you need to post the form to
/examples/j_security_check in the examples webapp.  Your error message
implies to me that the login form in in the login directory.  You would want
your form's action to be ../j_security_check in this case.

        Randy


> -----Original Message-----
> From: Wayne Hefner [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 18, 2001 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: j_security_check
> 
> 
> I am trying to set up a form based authorization, I have done 
> everything
> similar to examples I have found.  My login.jsp appears below:
> 
> 
> <html>
> <body>
> <h1>Login page for examples</h1>
> <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>
> 
> </body>
> </html>
> 
> when I submit it doesn't appear that the engine knows about the
> j_security_check servlet since it attempts to go to
> http://mack-weh/login/j_security_check and displays a page 
> not found error.
> 
> Is there anything that needs to be done to activate this servlet.
> 
> thanks,
> 
> wayne
> 
> 

Reply via email to