You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by al...@polaris.co.in on 2003/12/09 13:23:07 UTC

Error message display in the case of redirect = true

Hello all,
I want to display the errors stack provided y Struts in the jsp page using
the <html:errors/> tag. I am able to display it but the moment I add the
redirect=true in the action mapping tag I am not able to see the error
messages.

Please help with it.

Alok Garg
Polaris Software Lab Ltd.
( + 91 - 022 - 28290019 Ext. # 1308 )



RE: Error message display in the case of redirect = true

Posted by Navjot Singh <na...@net4india.net>.
not sure but the logic says that error messages are being stored in the
REQUEST SCOPE and when you set redirect=true, naturally that's a new request
so you won't get the errors set in earlier request.

anybody else?

>-----Original Message-----
>From: alok.garg@polaris.co.in [mailto:alok.garg@polaris.co.in]
>Sent: Tuesday, December 09, 2003 5:53 PM
>To: Struts Users Mailing List
>Subject: Error message display in the case of redirect = true
>
>
>Hello all,
>I want to display the errors stack provided y Struts in the jsp page using
>the <html:errors/> tag. I am able to display it but the moment I add the
>redirect=true in the action mapping tag I am not able to see the error
>messages.
>
>Please help with it.
>
>Alok Garg
>Polaris Software Lab Ltd.
>( + 91 - 022 - 28290019 Ext. # 1308 )
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org