Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 52118 invoked from network); 24 Aug 2007 13:25:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2007 13:25:12 -0000 Received: (qmail 63738 invoked by uid 500); 24 Aug 2007 13:24:59 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 63714 invoked by uid 500); 24 Aug 2007 13:24:59 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 63703 invoked by uid 99); 24 Aug 2007 13:24:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 06:24:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.241.162.43] (HELO nmail0.systems.pipex.net) (62.241.162.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 13:25:35 +0000 Received: from nmail0.systems.pipex.net (localhost [127.0.0.1]) by nmail0.systems.pipex.net (8.13.3/8.13.3) with ESMTP id l7ODOVaq023726 for ; Fri, 24 Aug 2007 14:24:31 +0100 Received: (from nobody@localhost) by nmail0.systems.pipex.net (8.13.3/8.13.3/Submit) id l7ODOViP023725 for user@struts.apache.org; Fri, 24 Aug 2007 14:24:31 +0100 Received: from 157.228.39.10 ( [157.228.39.10]) as user 25miut@dsl.pipex.com by netmail.pipex.net with HTTP; Fri, 24 Aug 2007 14:24:31 +0100 Message-ID: <1187961871.46cedc0fbb86b@netmail.pipex.net> Date: Fri, 24 Aug 2007 14:24:31 +0100 From: ian.blenk@dsl.pipex.com To: user@struts.apache.org Subject: rewrite must be declared for element type forward error MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Pipex Webmail (IMP3.1) X-Originating-IP: 157.228.39.10 X-Pipex-Username: 25miut%dsl.pipex.com X-Usage: Pipex Webmail is subject to the standard Pipex terms and conditions of use X-Virus-Checked: Checked by ClamAV on apache.org Hi My app is using Struts 1.02 and I've moved it onto a Tomcat 5.5.23 and Java 5 platform, previous it worked fine on Java 1.4 and Tomcat 4.1 platform. Now I get the following error message, and one of my Logon Action Mappings doesn't work, the rest of the application runs fine though. Any suggestions appreciated Thanks Ian register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/C:/Tomcat%205.5.23/webapps/myapp/WEB-INF/lib/struts-101.jar!/org/apache/struts/resources/struts- config_1_0.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:/Tomcat%205.5.23/webapps/myapp/WEB-INF/lib/struts-101.jar!/org/apache/struts/resources/web-app_2_2.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:/Tomcat%205.5.23/webapps/myapp/WEB-INF/lib/struts-101.jar!/org/apache/struts/resources/web-app_2_3.dtd' resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd') Resolving to alternate DTD 'jar:file:/C:/Tomcat%205.5.23/webapps/myapp/WEB-INF/lib/struts- 101.jar!/org/apache/struts/resources/struts-config_1_0.dtd' New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.tiles.ActionComponentServlet.addForward(ActionForward[notinadept]) Pop org.apache.struts.action.ActionForward Parse Error at line 55 column 76: Attribute "rewrite" must be declared for element type "forward". org.xml.sax.SAXParseException: Attribute "rewrite" must be declared for element type "forward". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source) edit... -- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org