Does this need to be back ported to Tomcat 4?

[EMAIL PROTECTED] wrote:
amyroh 2003/02/12 23:22:01

Modified: catalina/src/share/org/apache/catalina/valves
ErrorDispatcherValve.java
Log:
Fix to return an error-page for 500 if it's defined in web.xml.
If ErrorDispatcherValve does not find an error-page for an internal error, it sets
the error code to 500 but does not then try to see if there is an error-page
mapping for this error code.
If the servlet throws an exception that does not map to an error-page, then we
should set the error-code to 500 and see if there is an error-page for 500 and
if so, return that. Most users will configure a generic error-page for 500
rather than for exception-types.
Fix for bugtraq 4685997.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to