hi all,
i have using struts. i have written struts-config file which is giving some error while start the tomcat 5.xxx
struts-config shown below
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<message-resources parameter="resources.application"/>
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config"
value="/WEB-INF/tiles-admin-defs.xml"/>
<set-property property="moduleAware" value="true"/>
<set-property property="definitions-parser-validate" value="true"/>
</plug-in>
</struts-config>
error is
must match "(display-name?,description?,data-sources?,form-beans?,global-excep
ons?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*
.
org.xml.sax.SAXParseException: The content of element type "struts-config" mus
match "(display-name?,description?,data-sources?,form-beans?,global-exceptions
global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
please tell me what did i made wrong