David - thanks for the reply.  Using the 'o.a.s.a.EXCEPTION' in a
<bean:write> gives me the basic exception (i.e.
java.lang.NullPointerException). It would be nice to be able to provide
additional information - stack trace or something similar.  Do I need to
write a custom ExceptionHandler to do this?

Jerry

> -----Original Message-----
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 26, 2002 10:34 AM
> To: Struts Users Mailing List
> Subject: RE: [Declarative Exception] How to access the exception text
> 
> 
> Unfortunately, the only thing that is really clear about this 
> is the code (AFAICS).  The default exception handler will put 
> the exception into request scope under the key symbol 
> "Globals.EXCEPTION_KEY", which is the string 
> "org.apache.struts.action.EXCEPTION".
> 
> > -----Original Message-----
> > From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 26, 2002 8:00 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: [Declarative Exception] How to access the exception text
> > 
> > 
> > 
> > In my struts-config I have a <global-exception> defined to handle
> > java.lang.Exception:
> > 
> >     <global-exceptions>
> >             <exception path="error.page" 
> > type="java.lang.Exception"/>
> >     </global-exceptions>
> > 
> > On this page I want to be able to display the text from the 
> > exception (i.e.
> > e.getMessage()).  How can I get access to this?
> > 
> > TIA!
> > 
> > Jerry Jalenak
> > Web Publishing
> > LabOne, Inc.
> > 10101 Renner Blvd.
> > Lenexa, KS  66219
> > (913) 577-1496
> > [EMAIL PROTECTED]
> > 
> > 
> > This transmission (and any information attached to it) may be 
> > confidential and is intended solely for the use of the 
> > individual or entity to which it is addressed. If you are not 
> > the intended recipient or the person responsible for 
> > delivering the transmission to the intended recipient, be 
> > advised that you have received this transmission in error and 
> > that any use, dissemination, forwarding, printing, or copying 
> > of this information is strictly prohibited. If you have 
> > received this transmission in error, please immediately 
> > notify LabOne at the following email address: 
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>

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


This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at the following email 
address: [EMAIL PROTECTED]



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

Reply via email to