Re: Exception Logging

2007-10-14 Thread Richard Sayre
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: >

Re: Exception Logging

2007-10-13 Thread Jeromy Evans
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

Re: Exception Logging

2007-10-13 Thread Richard Sayre
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)

Exception Logging

2007-10-13 Thread Richard Sayre
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

Exception logging

2007-02-09 Thread Christopher Schultz
-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