tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D. Stimits" <stim...@comcast.net>
Subject minor glitch struts-config.xml tomcat 5.0.30
Date Fri, 03 Dec 2004 03:54:09 GMT
Just posting a note for people doing google searches.

The default server/webapps/admin/WEB-INF/struts-config.xml on tomcat 
5.0.30 uses DOCTYPE that is incorrect. The DOCTYPE should use:
   "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"

The config_1_0.dtd results in catalina.out:
Dec 2, 2004 8:32:27 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 1063 column 63: Element type 
"message-resources" must be declared.
org.xml.sax.SAXParseException: Element type "message-resources" must be 
declared.
         at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)

Using struts-config_1_2.dtd removes the catalina.out log message.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message