on 5/29/02 3:36 AM, Reinhard N�gele at [EMAIL PROTECTED] wrote:

> session.setAttribute(REDIRECT_KEY, mapping);
> return mapping.findForward("login");
> 
> 
> In your login action, check if a mapping is in the session and go there:
> 
> ActionMapping redirectMapping =
>   (ActionMapping) session.getAttribute(REDIRECT_KEY);
>   if (redirectMapping != null) {
>       session.removeAttribute(REDIRECT_KEY);
>       return new ActionForward(redirectMapping.getInput());
>   }

Thank you. In retrospect, this is so incredibly obvious (storing the actual
mapping object), I'm embarrassed to have had to ask it. Thank you very much.

-- 
Rick



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

Reply via email to