--- Mike Jasnowski <[EMAIL PROTECTED]> wrote:
> What about adding a symmetrical removeErrors()/removeMessages() to
> Action?

How would your Action know to call that?  How would your app know which
Action was executed after the one that generated the messages?

David

> 
> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 03, 2003 5:21 PM
> To: Struts Users Mailing List
> Subject: Re: ExceptionHandler storing ActionErrors in session
> 
> 
> I don't believe there is currently a way to remove messages from the
> session.  How would Struts know when to remove them?  I have written a
> small subclass of ActionMessages that only returns its messages once. 
> This allows me to store messages in the session without them being
> displayed multiple times.  
> 
> You're not the first person to need this feature so maybe it's time to
> float the subclass idea on struts-dev (unless there is a better way).
> 
> David
> 
> 
> --- Robert Taylor <[EMAIL PROTECTED]> wrote:
> > I'm just starting to fiddle around with ExceptionHandlers and was
> > wondering
> > how and when ActionErrors are removed from session scoped if
> configured
> > to
> > be "stored" there.
> > 
> > I took a look at the ErrorsTag and the MessagesTag (because I'm
> assuming
> > these tags would be used to render the ActionErrors) and didn't see
> > provisions for removing ActionErrors from session scope.
> > 
> > I must have missed something obvious here and would appreciate anyone
> > who
> > could point me in the right direction.
> > 
> > robert
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> 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]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to