You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by p <ll...@dowman.net> on 2003/06/03 21:45:30 UTC

Exception handling question

Ideally I would like to log all exceptions that occur, and I can create 
an ExceptionHandler to do this, but it will only catch exceptions that 
get thrown from within one of my Actions, anything thrown from JSP 
pages or custom tags won't get caught. (right?)

How do most people deal with this? I can set an error-page in the 
web.xml file that will catch the rest, but then I can't log the 
exceptions. (or can I?)

thanks!


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


RE: Exception handling question

Posted by Mark Galbreath <ma...@qat.com>.
I give any user that causes an exception an electric shock.

-----Original Message-----
From: p [mailto:ll@dowman.net] 
Sent: Tuesday, June 03, 2003 3:46 PM
To: struts-user@jakarta.apache.org
Subject: Exception handling question


Ideally I would like to log all exceptions that occur, and I can create 
an ExceptionHandler to do this, but it will only catch exceptions that 
get thrown from within one of my Actions, anything thrown from JSP 
pages or custom tags won't get caught. (right?)

How do most people deal with this? I can set an error-page in the 
web.xml file that will catch the rest, but then I can't log the 
exceptions. (or can I?)

thanks!


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