1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| <?xml version="1.0" encoding="UTF-8"?>
<struts-config>
<form-beans>
<form-bean name="personneForm"
type="com.cdvm.web.forms.PersonneForm">
</form-bean>
</form-beans>
<global-forwards>
<forward name="index" path="/index.jsp" />
</global-forwards>
<action-mappings>
<action path="/personne"
type="com.cdvm.web.actions.PersonneAction" name="personneForm"
scope="request" parameter="method" validate="true">
<forward name="listePersonnes"
path="/WEB-INF/vues/jspPersonne/listePersonnes.jsp" />
<forward name="ajouterPersonne"
path="/WEB-INF/vues/jspPersonne/ajouterPersonne.jsp" />
<forward name="affichePersonne"
path="/WEB-INF/vues/jspPersonne/modifierPersonne.jsp" />
<forward name="rechercherPersonne"
path="/WEB-INF/vues/jspPersonne/rechercherPersonne.jsp" />
</action>
</action-mappings>
<!-- ================================ Message Resources Definitions -->
<message-resources parameter="MessageResource.properties" />
<!-- ========================== Plug Ins Configuration -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn" >
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
</struts-config> |
Partager