Re: ExceptionHandler not able to display error messages

2003-11-21 Thread Pratik Patel
I have written an ExceptionHandler that extends the struts exceptionHandler. I would like it to print a stack trace. So, I have done the following: have a look at this blog entry, and the ExceptionHandler and JSP page I use for displaying exception messages (and stacktraces)

Re: ExceptionHandler not able to display error messages

2003-11-20 Thread Daniel A. Torrey
What does the errors.detail string look like? Do you have a replacement parameter in it for exception.getMessage() to be inserted into? -daniel Daniel A. Torrey daniel at datorrey dot net Quoting Sharmila Pandith [EMAIL PROTECTED]: Hi, I have written an ExceptionHandler that extends the

RE: ExceptionHandler

2003-11-18 Thread Yee, Richard K,,DMDCWEST
PROTECTED] Sent: Sunday, November 16, 2003 9:09 PM To: Struts Users Mailing List Subject: Re: ExceptionHandler Yes it is. I am from Brazil. It is in portuguese. Tks. - Original Message - From: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday

RE: ExceptionHandler example

2003-11-18 Thread Yee, Richard K,,DMDCWEST
Check this article out: http://javaboutique.internet.com/tutorials/excep_struts/index-7.html -Richard -Original Message- From: Sharmila Pandith [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: ExceptionHandler example Hi, Can anyone

Re: ExceptionHandler

2003-11-16 Thread Felipe Nascimento
Yes it is. I am from Brazil. It is in portuguese. Tks. - Original Message - From: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:39 AM Subject: Re: ExceptionHandler Felipe Nascimento wrote: key

RE: ExceptionHandler to ActionError

2003-11-13 Thread Norm Deane
Assuming you want to do this to make use of the html:messages tag... The default ExceptionHandler (org.apache.struts.action.ExceptionHandler) creates an ActionErrors object which encapsulates the error message derived from the Exception and the ExceptionConfig. By nature of the inheritance

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

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

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't

RE: ExceptionHandler storing ActionErrors in session

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

RE: ExceptionHandler storing ActionErrors in session

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

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
that idea some time ago and the consensus seemed to be that custom tags shouldn't be altering session state. David robert -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:21 PM To: Struts Users Mailing List Subject: Re

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Mike Jasnowski
: 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 symmetrical removeErrors()/removeMessages() to Action? How

RE: ExceptionHandler storing ActionErrors in session

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

RE: ExceptionHandler storing ActionErrors in session

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

RE: ExceptionHandler

2003-03-04 Thread Ray Madigan
How does one get a simple question answered? I am stuck, the source is not helping, I have searched the list, and this list won't tell me even if im on track? -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 8:55 AM To: Struts Users Mailing

RE: ExceptionHandler

2003-03-04 Thread Dave Newton
On Tue, 2003-03-04 at 17:18, Ray Madigan wrote: How does one get a simple question answered? I am stuck, the source is not helping, I have searched the list, and this list won't tell me even if im on track? about: From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003

Re: ExceptionHandler

2003-03-04 Thread alexj
rhooo you need a beer :)) -- Alexandre Jaquet - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 11:34 PM Subject: RE: ExceptionHandler On Tue, 2003-03-04 at 17:18, Ray Madigan wrote: How does one

[OT] Beer! Re: ExceptionHandler

2003-03-04 Thread Dave Newton
On Tue, 2003-03-04 at 17:38, alexj wrote: rhooo you need a beer :)) That's a pretty good idea :D I've had to program with too many new acronyms and studly one-word open-source projects this week and my brain hurts. Dave -

RE: ExceptionHandler

2003-03-04 Thread Wendy Smoak
I'm sorry you're stuck, but speaking only for myself, your question was too vague for me to even try to solve. If you show the complete before and after versions of the tags you're talking about, and maybe a bit of Java/JSP code that demonstrates the problem, I might paste it into my own project

RE: ExceptionHandler

2003-03-04 Thread Becky Norum
Well said, Wendy. I often do the same - I've learned much more from some of the questions on various forums than from books or tutorials. Becky On Tue, 2003-03-04 at 17:52, Wendy Smoak wrote: I'm sorry you're stuck, but speaking only for myself, your question was too vague for me to even try

RE: ExceptionHandler

2003-03-04 Thread Ray Madigan
:52 PM To: 'Struts Users Mailing List' Subject: RE: ExceptionHandler I'm sorry you're stuck, but speaking only for myself, your question was too vague for me to even try to solve. If you show the complete before and after versions of the tags you're talking about, and maybe a bit of Java/JSP code

Re: [ExceptionHandler] NoClassDefFoundError: org/apache/struts/action/ExceptionHandler

2002-08-30 Thread Charles
Btw..here's an except of the error message i get : - start of exception - Error. The server encountered an unexpected condition which prevented it from fulfilling the request. java.lang.NoClassDefFoundError: