tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herchel Wojciech <W.Herc...@pzuzycie.com.pl>
Subject ODP: Form based auth
Date Wed, 28 Feb 2001 07:35:14 GMT
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:uthana01@perceptiondm.com]
> Wysłano: 27 lutego 2001 17:48
> Do: tomcat-user@jakarta.apache.org
> 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.
> >
> > 

Mime
View raw message