tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter lin <peter....@labs.gte.com>
Subject tricky question
Date Thu, 17 Oct 2002 13:43:14 GMT

I'm hoping others have done this, since I can't think of a way.

I modified my web.xml to redirect nullpointerexception and jspexception
to my own error page, but I still want to log the exception to the
localhost_log. I made test pages to purposely cause nullpointer and jsp
exceptions. so far it's good. When the request gets logged in access log
the status code is 200. No log in localhost_log appears.

I don't see any way in the request/response API to get the stacktrace.

Is this even possible?


peter

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message