On Tue, 22 May 2001, Glenn Nielsen wrote:
> Is there a way change the default way Tomcat 4 handles reporting of
> errors to a remote user that can be configured globally? I would
> like to set the default behaviour to something less intimidating than
> a stack trace inc ase a customer hasn't configured error handling in
> their JSP pages or web application web.xml.
>
There isn't anything global at the moment. Part of the challenge is that
most of the things you might *like* to do are pretty application specific.
One approach we can consider is to pull out the logic that generates the
default error pages (it's in StandardWrapperValve) into separate
system-level servlets - or something similar - that you can
configure. Then we could add a Context-level configuration property that
let you select the correct handler.
> Regards,
>
> Glenn
>
Craig