OLá pessoal,
não entendi por que está dando esse erro
no arquivo config-struts.xml
se alguem puder me ajudar agradeceria
abs
21/01/2008 14:54:00 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 48 column 17: The content of element type "struts-config" must match "(display-name?,description?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(display-name?,description?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
–struts
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<form-beans>
<!-- form bean -->
<form-bean name="registrarForm" type="br.com.curso.RegistrarForm" />
</form-beans>
<!-- Definições dos mapeamentos das ações -->
<action-mappings>
<action path="/registrar" forward="/validator/registrar.jsp" />
<action path="/registrar-submit"
type="br.com.wincomp.curso.RegistrarAction"
name="registrarForm"
scope="request"
validate="true"
cancellable="true"
input="/validator/registrar.jsp">
<forward name="success" path="/validator/registrado.jsp" />
</action>
</action-mappings>
<!--
Add multiple validator resource files by setting the pathnames property
with a comma delimited list of resource files to load.
-->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/org/apache/struts/validator/validator-rules-compressed.xml,
/WEB-INF/validator/validation.xml,
/WEB-INF/validator/validation-bundles.xml,
/WEB-INF/validator/validation-i18nVariables.xml,
/WEB-INF/validator/validation-type.xml,
/WEB-INF/validator/validation-validwhen.xml" />
<set-property property="stopOnFirstError" value="true" />
</plug-in>
<!-- Definições das mensagens dos arquivos de Recursos-->
<message-resources parameter="MessageResources"/>
</struts-config>