From tomcat-user-return-44332-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Mon Dec 09 14:00:54 2002 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 20162 invoked from network); 9 Dec 2002 14:00:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Dec 2002 14:00:54 -0000 Received: (qmail 5442 invoked by uid 97); 9 Dec 2002 14:01:39 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 5426 invoked by uid 97); 9 Dec 2002 14:01:39 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 5414 invoked by uid 98); 9 Dec 2002 14:01:38 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Content-Class: urn:content-classes:message From: To: "Tomcat Users List" Subject: Custom Error 500 Page Is Not Displayed Date: Mon, 9 Dec 2002 14:04:47 -0000 Message-ID: <268a301c29f8b$eea90500$7635bcc3@blueyonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft CDO for Windows 2000 Thread-Index: AcKfi+6mSzLYDhqiRXCHptU+7/TAPg== X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have an installation of Tomcat 4.0.6 running on Win 2k Advanced = Server, JDK 1.3.1_01 using IIS 5.0 as web server. I have set-up custom = error pages in web.xml for both 404 and 500 to display helpful messages = relevant to the application I've built. Any 404s are nicely displayed = using the 404 error page defined in web.xml, but any 500s are not and I = get the Tomcat default Internal Server error displayed, which isn't nice = for my users. I can't understand why the 404 works and 500 doesn't. Should the type of = error that is coming back, e.g. an undefined variable or = NullPointerException affect the error page I've chosen being displayed? = If it's a NullPointerException that's a runtime error, but an undefined = variable is a compile time error does this affect the redirection to the = error page I've added? I hope I'm not missing something basic because all examples, FAQs and = other sites I've visited show that I'm doing the right thing and the = fact that the 404 works further proves that. Any help is greatly = appreciated. Ian -- To unsubscribe, e-mail: For additional commands, e-mail: