Re: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
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

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Mike Jasnowski
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&#

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Robert Taylor
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

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
--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

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
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

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread 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 Jasnowski <[EMAIL PROTECTED]> wrote: > What about adding a symmet

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Mike Jasnowski
/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

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
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

Re: ExceptionHandler storing ActionErrors in session

2003-09-04 Thread Jing Zhou
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