You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Vinay Agarwal <Vi...@hotmail.com> on 2006/07/21 17:47:21 UTC
Redirecting from Java: How to show error messages
Hello,
Redirecting from Java using HttpServletResponse works well but the error
messages stored in the HttpServletRequest don't show after the redirect. Is
there a way to make error messages show? Thanks in advance.
Regards,
Vinay Agarwal
Re: Redirecting from Java: How to show error messages
Posted by Pradeep Chaudhary <pr...@gmail.com>.
Browser will make a new request on redirect. So all the infomartion
stored in original request object is lost.
You can put the error messages in session before redirecting and
access it from redirected page.
Pradeep
On 7/21/06, Vinay Agarwal <Vi...@hotmail.com> wrote:
> Hello,
>
>
>
> Redirecting from Java using HttpServletResponse works well but the error
> messages stored in the HttpServletRequest don't show after the redirect. Is
> there a way to make error messages show? Thanks in advance.
>
>
>
> Regards,
>
> Vinay Agarwal
>
>
>
>
>