L.S,
I'm running tomcat to serve out XML to a custom client (not a
webbrowser). In order to show an error page that this client can
actually display I use custom error pages in Tomcat. For this I have
specified a JSP as an error page, this works very well. However, during
the test phase of our project I'd also like to add the stacktrace to the
error document and optionally to a logfile. Since the client cannot
interpret a normal HTML page, the standard 500 error page that comes
with Tomcat is unusable. How can I access the stacktrace/error message
from my own JSP or a servlet so I can output it to our own custom XML
format and our testers can give proper feedback. I did some googling for
this but it seems like everyone else is just trying to get rid of the
stacktrace instead of changing it.
Sincerely,
Tom van Wietmarschen
--
**Tom van Wietmarschen**
Software Engineer
Service2Media B.V.
Vreelandseweg 7
1216 CG Hilversum
Capitool 41
7521 PL Enschede
Tel +31 (0)35 626 46 12
Fax +31 (0)35 626 46 13
www.service2media.com <http://www.service2media.com>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]