error-page>
<error-code>500</error-code>
<location>/general_error.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/general_error.html</location>
</error-page>
somthing like this in your web.xml
-----Original Message-----
From: Philipp Leusmann [mailto:[EMAIL PROTECTED]
Sent: 28 March 2003 13:16
To: [EMAIL PROTECTED]
Subject: Catching ServletExceptions through filter
Hi,
is it possible to catch thrown ServletExceptions through a filter to
generate a custom output?
Or, is there a way to define servlets which are processed if, for instance
an Error 500 is produced?
Thanks,
Philipp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]