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