Re: How to redirect error message

2007-12-12 Thread Adam Hardy
Gary Affonso on 09/12/07 23:58, wrote: Yayo wrote: Errors are stored in a request scope attribute and after a redirect they're lost because a new request is launched by the client browser. You must explicitly (by code) store them in a session attribute to get them in the second request. Prese

Re: How to redirect error message

2007-12-09 Thread Gary Affonso
Yayo wrote: Errors are stored in a request scope attribute and after a redirect they're lost because a new request is launched by the client browser. You must explicitly (by code) store them in a session attribute to get them in the second request. Preserving the messages by hand will work, of

Re: How to redirect error message

2007-12-09 Thread Yayo
Errors are stored in a request scope attribute and after a redirect they're lost because a new request is launched by the client browser. You must explicitly (by code) store them in a session attribute to get them in the second request. ^^ On Dec 9, 2007 3:18 PM, Edgaras <[EMAIL PROTECTED]> wrote

How to redirect error message

2007-12-09 Thread Edgaras
Hallo, i want to redirect my errors "together" with page redirect...: if user is logged he should see message "person created" on StartPage.jsp and if not on Login.jsp. It works if I do directly forward, but if i redirect Login.jsp to StartPage.jsp error massege is gone. Could you