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 ti
What about adding a symmetrical removeErrors()/removeMessages() to Action?
-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
3, 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 s
--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 me
sday, 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 r
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 5:34 PM
To: Struts Users Mailing List
Subject: RE: ExceptionHandler storing ActionErrors in session
--- Mike Jasnowski <[EMAIL PROTECTED]> wrote:
> What about adding a symmet
/messages, an Action would then call the
removeXXX() method.
Mike Jasnowski
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 5:34 PM
To: Struts Users Mailing List
Subject: RE: ExceptionHandler storing ActionErrors in session
--- Mike
top of a page or in some other frame, Once the
> user decides to "clear" the errors/messages, an Action would then call
> the
> removeXXX() method.
>
> Mike Jasnowski
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wed
When the declarative exception handling was introduced, I was very
concerned about the scope attribute in the ExceptionConfig. It is a
redundant
attribute if we obey the following rules:
1) All exceptions that could reach to the exception handler should be
fatal errors.
2) Fatal errors should b
9 matches
Mail list logo