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 di
;[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: Can I do this in login.jsp?
> 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 t
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