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
|
<struts-config>
<controller processorClass="fr.improve.struts.taglib.layout.workflow.LayoutRequestProcessor" contentType="text/html;charset=UTF-8"/>
<form-beans>
<form-bean .../>
<form-bean .../>
<form-bean name="maPageForm" type="action.form.MaPageForm" />
<form-bean .../>
...
</form-beans>
<action-mappings type="org.apache.struts.action.ActionMapping">
<action .../>
<action .../>
...
<action
path="/sort
type="monPack.action.Sort"
name="maPageForm"
scope="session"
validate="false"
attribute="maPageForm">
<forward name="maPage" path=".maPageResults.page" />
<forward name="maPage2" path=".maPage2Results.page" />
</action>
<action .../>
...
</action-mappings>
<message-resources parameter="resources.ApplicationResources" null="true" />
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<!-- Path to XML definition files -->
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
<!-- Set Module-awareness to true -->
<set-property property="moduleAware" value="true" />
</plug-in>
</struts-config> |