Re: Exception handling question

2003-06-05 Thread Bradley M. Handy
Here are the request scope attributes you need to worry about (page 64 of the Servlet 2.3 spec): javax.servlet.error.status_code java.lang.Integer javax.servlet.error.exception_type java.lang.Class javax.servlet.error.message java.lang.String javax.servlet.error.exception java.

Re: Exception handling question

2003-06-05 Thread David Graham
How do you get access to the exception that was thrown when your action is called by the container (i.e. from the error-page directive in web.xml)? for example: a custom tag throws an exception, it is caught by the container and the container forwards to my action. so where is the exception ob

Re: Exception handling question

2003-06-04 Thread p
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

RE: Exception handling question

2003-06-04 Thread Mark Galbreath
I give any user that causes an exception an electric shock. -Original Message- From: p [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:46 PM To: [EMAIL PROTECTED] Subject: Exception handling question Ideally I would like to log all exceptions that occur, and I can create an Ex

Re: Exception handling question

2003-06-04 Thread David Graham
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