struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Smith <psm...@infonow.com>
Subject Re: JSP exception
Date Thu, 17 Jul 2003 18:46:57 GMT
Hi all,

Looks like I was not specific enough.  I have no problem getting the
exception object when an action throws an exception.  Its when a jsp page
does.  The status code is correct in request, but the exception just isn't
there.  Anyone have a recommendation?

Thanks, Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: "Varun Garg" <varun_garg@yahoo.com>
> Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Date: Thu, 17 Jul 2003 12:35:40 -0500
> To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> Subject: RE: JSP exception
> 
> The best way I like is to use the ExceptionHandler. Catch the exceptions
> and then do whatever you would like to do with it. You can call your
> error page after that.
> 
> Varun
> 
> -----Original Message-----
> From: Peter Smith [mailto:psmith@infonow.com]
> Sent: Thursday, July 17, 2003 12:33 PM
> To: Struts Users Mailing List
> Subject: JSP exception
> 
> 
> Hi all,
> 
> Does anyone know how I can get access to the exception put into
> pageContext on an error jsp page?  I am trying to do logging from an
> action, but haven't been able to get the exception to log it.
> 
> Thanks, Peter
> 
> -- 
> Peter Smith
> Software Engineer
> InfoNow Corporation
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message