tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Jolley <jolleyt...@gmail.com>
Subject Exception Handling
Date Sat, 27 Aug 2011 19:10:40 GMT
For days I have been playing around with trying to develop a general-purpose
forwarding mechanism that I could use to forward to an errors page upon the
occurrence of an exception.  It has just been revealed to me that this
approach is not going to work because once a response is committed it is no
longer possible to forward.  That being the case, I'd love to hear
suggestions as to what should be done upon the occurrence of an exception.
At a minimum, I'd like to get some basic information about the exception
displayed.  I realize that I could just stuff that information into the
response buffer.  It seems to me that that approach has the potential for
being a bit crude depending upon the state of the response buffer at the
time the exception occurred (it could be right in the middle of a table, for
example).  Suggestions?

Thanks for any input.

          ... doug

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message