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
<!-- tomcat stdout log except -->
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'
<!-- AND -->
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...
<!-- Action Mappings Definitions -->
<!-- Process a user logon -->
<action path="/logon/prepare"
type="uk.ac.user.actions.LogonPrepareAction"
name="logonForm"
scope="request"
validate="false">
<forward name="success" path="/WEB-INF/ui/login.jsp"/>
</action>
<!-- Process a user logon -->
<action path="/logon"
type="uk.ac.user.actions.LogonAction"
name="logonForm"
scope="request"
input="/login.jsp">
<forward name="success" path="/do/helpdesk"/>
<forward name="failure" path="/WEB-INF/ui/login.jsp"/>
</action>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]