Hello,
What I have done is like:
1) I forward the user to ActionClass after the LoginPage (not the default
one but to the coustom one).
2) In this action class I set all the parameters that I require.
3) After this I forward the user to the j_security_check part.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 31, 2003 5:36 AM
Subject: j_security_check with LogonAction


> Hi,
>
> I am trying to use j_security_check Servlet to authenticate users
> from a login.jsp. However, if I do this, I will not be able to take
> advantage of LogonAction class where I need to set certain session
> and request attributes. If I submit the logon form to LogonAction, I
> can forward the request from LogonAction to j_security_check but the
> request object will stay there and I can not forward again using
> mapping.findForward("success") to a different page since the response
> is already commited at that point.
>
> Is there a way to work around this?
>
> Marwan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to