Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Programmatic access to error 500 stack trace

Andrew Stepanenko

2006-03-14

Replies:

Hello,

In our web app I as a developer want to know when the error 500 occurred
(either because of OutOfMemory or whatever). So, I defined a custom
error page in my web.xml and put there email sending logic. It is easy
for me to get the error code, but can I access the actual exception
stack trace so that I may embed it into my email message?

Thank you,
Andrew Stepanenko.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.