No, it gets cleaned up by the RequestProcessor after you've displayed
the messages.

Hubert

On 9/27/05, rahul <[EMAIL PROTECTED]> wrote:
> do I need to clean up session after displaying ActionErrors
> saved using saveErrors(request,actionError) method?
>
>
> > -----Original Message-----
> > From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 27, 2005 7:09 PM
> > To: Struts Users Mailing List
> > Subject: Re: ActionMessages with redirect
> >
> >
> > There are saveErrors() and saveMessages() that accept a session
> > instead of a request object.  The items saved here are removed after
> > the request that accesses them.
> >
> > Hubert
> >
> > On 9/27/05, rahul <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > Just before creating an ActioForward in my Action class, i am
> > storing some
> > > messages using SaveErrors().
> > >
> > > And I am using ActionForward(String path, boolean redirect) for
> > creating the
> > > ActionForward with 'true' value for redirect parameter.
> > >
> > > My question is by doing this can I display the ActionMessages
> > that I have
> > > saved
> > > using SaveErrors()?
> > >
> > > If not then how can I save ActionMessages/ActionErrors so that they are
> > > visible to me even after
> > > making a redirect?
> > >
> > > any suggestions?
> > > --RahulJoshi
> > >
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

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

Reply via email to