Thank you. That worked perfect.
On 10/13/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> In addition to configuring log4j to use a FileAppender to write logs to
> a file, here's a very simple way to log exceptions manually from the
> exception page:
>
> Within your jsp include the following code:
>
In addition to configuring log4j to use a FileAppender to write logs to
a file, here's a very simple way to log exceptions manually from the
exception page:
Within your jsp include the following code:
<%
String stackTrace = (String)
pageContext.getAttribute("stackTrace");
new
I thought I would add this part of the stack trace in case it helps:
SEVERE: Error finishing response
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:689)
I am trying to log the exception that get cought by the struts
exception handler.
So far I have .jsp page that shows the exception:
An Exception Has occured!
=
I am going to change this page to display a generic error message. I
want to write the valu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've been using struts for several years at this point, and the "right"
way to do error processing has always eluded me. I have web.xml
configured to display nice error pages instead of barfing everywhere
with a stack trace. I have it pointing to
5 matches
Mail list logo