Ciao ragazzi,
ho inserito nel file validation.xml il seguente codice:

Codice PHP:
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">

<form-validation>
  <formset>

    <form name="loginformbean">
      <field property="username"
             depends="required">
        <arg0 key="inputForm.username"/>
      </field>
      <field property="password"
             depends="required">
        <arg0 key="inputForm.password"/>
      </field>
    </form>

  </formset>
</form-validation>
e nello struts-config.xml il seguente codice:

Codice PHP:
<form-beans>
     <
form-bean name="loginformbean"
               
type="com.nota.struts.forms.LogInFormBean"/>
</
form-beans>
...    

    <
action-mappings>
...
        <
action path="/logInAction"
            
type="com.nota.struts.LogInAction"
            
name="loginformbean"
            
scope="request">
            <
forward name="dati-non-validi"
               
path="/nonAutenticato.do"/>
           <
forward name="autenticazione-riuscita"
               
path="/autenticato.do"/>
        </
action>-->
    </
action-mappings>
... 
Ma ricevo all'avvio il seguente errore:

GRAVE: Parse Error at line 35 column 23: The content of element type "action-mappings" must match "(action)*".
org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*".


Secondo voi, perchè?