> hmmmmm, according to servlet specification v2.2:

If you are using servlet then you dont need the extension.
But if your context is say webapps/xxx/
and you have j_security_check.class inside xxx/WEB-INF
then you may want to try
xxx/j_security_check


Uthay


----- Original Message -----
From: "Herchel Wojciech" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 4:03 PM
Subject: ODP: Form based auth


> hmmmmm, according to servlet specification v2.2:
> "11.5.3.1 Login Form Notes
> ...the action of the login form must always be "j_security_check"..."
> furthermore, according to tomcat docs, it (tomcat) complies with that!
> and it works when i'm testing it on win95+tomcat. but when i moved it on
my
> company's server (linux) it does not, resulting in said error.
> anybody?
>
> vVolf
>
>
> >
> > Is your file "j_security_check" a jsp file or servlet
> > If jsp where is the extension!
> > If servlet you may want to make sure you are giving the
> > correct context
> > path.
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Herchel Wojciech" <[EMAIL PROTECTED]>
> > To: "'Tomcat'" <[EMAIL PROTECTED]>
> > Sent: Tuesday, February 27, 2001 3:14 PM
> > Subject: Form based auth
> >
> >
> > > Hi all!
> > >
> > > How come would Tomcat (Apache?) return 404 Error while trying to
> > > authenticate via form? apparently it does not recognise
> > "j_security_check".
> > > anybody has got any idea?
> > > here's my code (login.jsp):
> > >
> > > <div align="center">
> > > <form method="POST" action="j_security_check" >
> > > <table cellspacing=4>
> > >     <tr>
> > >       <td colspan=2 class="aaa">Please log in</td>
> > >     </tr>
> > >     <tr>
> > >       <td class="lewe">Username:</td>
> > >       <td><input type="text" name="j_username"></td>
> > >     </tr>
> > >     <tr>
> > >       <td class="lewe">Password:</td>
> > >       <td><input type="password" name="j_password"></td>
> > >     </tr>
> > >     <tr>
> > >       <td colspan=2 class="aaa"><input type="submit" value="Log in"
> > > name="j_security_check"></td>
> > >     </tr>
> > > </table>
> > > </form>
> > > </div>
> > >
> > > and i'm getting 404 Error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to