Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 79819 invoked from network); 1 Mar 2005 09:08:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Mar 2005 09:08:09 -0000 Received: (qmail 2886 invoked by uid 500); 1 Mar 2005 09:07:54 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 1995 invoked by uid 500); 1 Mar 2005 09:07:51 -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 1981 invoked by uid 99); 1 Mar 2005 09:07:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ivdneut@gmail.com designates 64.233.184.195 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.195) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 01:07:51 -0800 Received: by wproxy.gmail.com with SMTP id 58so1203705wri for ; Tue, 01 Mar 2005 01:07:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=XlDoc7B02bjx/GrB9/FMsIW/CGHXCQ3Yv2gvkvtASJI0rU1h0ilCO36fgd9ll6nJB+Zd0FN3Y+T6k7YUKu4hOXDPhoAqKPEOQQ1znCQPTmL9MuxhPwwl9+dPxz8OpeuCA0ObM27OfvgfRoauOXO8vUwVxnQ3+1tfO0+aNVnxnDs= Received: by 10.54.47.20 with SMTP id u20mr46507wru; Tue, 01 Mar 2005 01:07:49 -0800 (PST) Received: by 10.54.2.75 with HTTP; Tue, 1 Mar 2005 01:07:49 -0800 (PST) Message-ID: <4a4499e05030101077df17468@mail.gmail.com> Date: Tue, 1 Mar 2005 10:07:49 +0100 From: Ian van der Neut Reply-To: Ian van der Neut To: Tomcat users mailing list Subject: error-page directive Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_967_28728358.1109668069301" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_Part_967_28728358.1109668069301 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello all, I have a web.xml (attached) that works fine if I remove the error-page directive, but gives a Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/web.xml: (line 72, col 11): The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*)". message when the indicated (java.lang.ClassNotFoundException) is encountered. I checked docs and books, but I can't find anything wrong with the web.xml. The template web.xml I used is the one from the struts 1.2.4 package. Could anyone please tell me what is wrong with this deployment descriptor? Thank you very much in advance for any input, Ian. ------=_Part_967_28728358.1109668069301 Content-Type: text/xml; name="web.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="web.xml" KNMI Operational DataCenter =20 action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 3 detail 3 3 action *.do index.jsp /tags/struts-bean /WEB-INF/struts-bean.tld /tags/struts-html /WEB-INF/struts-html.tld /tags/struts-logic /WEB-INF/struts-logic.tld /tags/struts-nested /WEB-INF/struts-nested.tld /tags/struts-tiles /WEB-INF/struts-tiles.tld =20 java.lang.ClassNotFoundException /pages/apperror.jsp =20 ------=_Part_967_28728358.1109668069301 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org ------=_Part_967_28728358.1109668069301--