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 45 46 47 48 49 50 51 52
| <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config
PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_3.dtd">
<struts-config>
<form-beans type="org.apache.struts.action.ActionFormBean">
<!-- <form-bean name="deptForm" type="com.struts.data.DeptForm" />-->
<form-bean name="PersonneForm" type="com.struts.data.PersonneForm" />
</form-beans>
<action-mappings type="org.apache.struts.action.ActionMapping">
<action path="/personneAjout" input="/AjouterPersonne_form.jsp" scope="request"
name="PersonneForm" type="com.struts.controleur.AjoutPersonnAction">
<forward name="succes" path="/AjouterPersonne_succes.jsp" redirect="false" />
<forward name="echec" path="/AjouterPersonne_form.jsp" redirect="false" />
</action>
<action path="/personneRecherche" input="/RecherchePersonne_form.jsp" scope="request"
name="PersonneForm" type="com.struts.controleur.RecherchePersonnAction">
<forward name="succes" path="/RecherchePersonne_succes.jsp" redirect="false" />
<forward name="echec" path="/RecherchePersonne_form.jsp" redirect="false" />
</action>
<!-- configuration de Struts -->
<action path="/sort"
type="fr.improve.struts.taglib.layout.sort.SortAction"
scope="request"
validate="false">
</action>
<action path="/treeview"
type="fr.improve.struts.taglib.layout.treeview.TreeviewAction"
scope="request"
validate="false">
</action>
</action-mappings>
<controller processorClass = "fr.improve.struts.taglib.layout.workflow.LayoutRequestProcessor"/>
<plug-in className="fr.improve.struts.taglib.layout.workflow.LayoutPlugin"/>
</struts-config> |
Partager