I want my
JSP error page to show a stack trace with some intelligent HTML formatting to highlight the important bits. Googling for error page examples, all I can find is basic examples for outputting a plain old stacktrace like this:
So I guess I want to get hold of the each line of the stack trace as a
string, and output it line-by-line after adding some HTML decorations. How do I do that with the various
java Streams and PrintWriter objects? ...and more to the point... hasn't someone out there done this before??? Know any URLs for advanced example error pages?