Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 6694 invoked from network); 3 Sep 2004 09:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 09:56:41 -0000 Received: (qmail 89534 invoked by uid 500); 3 Sep 2004 09:56:04 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 89516 invoked by uid 500); 3 Sep 2004 09:56:04 -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 89503 invoked by uid 99); 3 Sep 2004 09:56:03 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [206.190.38.134] (HELO web51003.mail.yahoo.com) (206.190.38.134) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Sep 2004 02:56:02 -0700 Message-ID: <20040903085903.84845.qmail@web51003.mail.yahoo.com> Received: from [130.88.233.248] by web51003.mail.yahoo.com via HTTP; Fri, 03 Sep 2004 09:59:03 BST Date: Fri, 3 Sep 2004 09:59:03 +0100 (BST) From: =?iso-8859-1?q?zhicheng=20wang?= Reply-To: wang_zc@yahoo.co.uk Subject: Re: custom error page for 403 To: QM , Tomcat Users List In-Reply-To: <20040902165411.GA20565@strange.dreamhost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N thanks the config part in web.xml: 404 /errorPage.html 403 /errorPage.html for 404, my errorpage.html is dispalyed for 403, the following page is displayed. thanks cheng =====returned page-what is dispaled in the browser== HTTP Status 403 - Access to the requested resource has been denied -------------------------------------------------------------------------------- type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. ======================== -------------------------------------------------------------------------------- Apache Tomcat/5.0.19 --- QM wrote: > On Thu, Sep 02, 2004 at 10:39:28AM +0100, zhicheng > wang wrote: > : can any one tell me how to config tomcat 5.0.25 to > use > : custom error 403 page? I can config it for 404, > but > : 403 apparently does not work, even though some > : articles say that the configs are the same. > > "apparently does not work" is hardly enough detail. > The process should be the same for all error pages. > > Post your web.xml and perhaps the page itself, and > someone here may have > some answers. > > -QM > > -- > > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com > > ===== Best wishes Z C Wang ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org