Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 87925 invoked from network); 13 Feb 2003 17:57:40 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 Feb 2003 17:57:40 -0000 Received: (qmail 24645 invoked by uid 97); 13 Feb 2003 17:59:13 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 24638 invoked from network); 13 Feb 2003 17:59:13 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 13 Feb 2003 17:59:13 -0000 Received: (qmail 83189 invoked by uid 500); 13 Feb 2003 17:56:37 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 83132 invoked from network); 13 Feb 2003 17:56:36 -0000 Received: from kathmandu.sun.com (192.18.98.36) by daedalus.apache.org with SMTP; 13 Feb 2003 17:56:36 -0000 Received: from ha1sca-mail1.SFBay.Sun.COM ([129.145.155.51]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id KAA26615 for ; Thu, 13 Feb 2003 10:56:39 -0700 (MST) Received: from apache.org (vpn-129-150-16-226.SFBay.Sun.COM [129.150.16.226]) by ha1sca-mail1.SFBay.Sun.COM (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id h1DHudh15241 for ; Thu, 13 Feb 2003 09:56:39 -0800 (PST) Message-ID: <3E4BDC55.77E9B3C4@apache.org> Date: Thu, 13 Feb 2003 09:56:37 -0800 From: Amy Roh X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valvesErrorDispatcherValve.java References: <20030213072202.92599.qmail@icarus.apache.org> <3E4BAD0A.5080504@mail.more.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Glenn Nielsen wrote: > > Does this need to be back ported to Tomcat 4? I'll take a look at it and port it if it's necessary. Thanks for the reminder. :-) Amy > > amyroh@apache.org 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: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org