oops, i don't really have j_security_check class, i thought it is taken care
of by tomcat...

vVolf


> -----Oryginalna wiadomość-----
> Od: uthay [mailto:[EMAIL PROTECTED]]
> Wysłano: 27 lutego 2001 17:48
> Do: [EMAIL PROTECTED]
> Temat: Re: Form based auth
> 
> 
> 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
> 
> 
> > > > 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]

Reply via email to