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.

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

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: