tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iwan <irw...@yahoo.com>
Subject Re: Can I do this in login.jsp?
Date Thu, 04 Oct 2001 01:27:33 GMT
Yes it is possible.  In your jsp, you can have a form with an action that 
call the servlet to create the cookie/validate the user id and password.
I personally don't like to save the password in the cookie as I don't feel 
that the right thing to do.

At 09:01 AM 10/3/2001 +0100, you wrote:
>I didn't see any answers! Does that mean its not possible? Or is just not
>the right thing to do?
>
>I really need to get something sorted soon.
>
>Help!  Desperation creeping in here!
>
>Thanks
>
>Gerry
>
>----- Original Message -----
> > I want login.jsp to
> >
> > take the user input username and pasword,
> >
> > pass them to a servlet to carry out some specialist actions including
> > writing a cookie
> >
> > then pass the input to j_security_check so that authentication takes
>place.
> >
> > Is that possible? Anyone got an example I can see?
> >
> > Gerry
> >
> >


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message