<struts-config>
<!-- ================================================ Form Bean Definitions -->
??? <form-beans>
??? ?<form-bean name="playerForm" type="com.lutong.tour.player.PlayerForm" />
??? </form-beans>
<!-- ========================================= Global Exception Definitions -->
??? <global-exceptions>
??????? <!-- sample exception handler
??????? <exception
??????????? key="expired.password"
??????????? type="app.ExpiredPasswordException"
??????????? path="/changePassword.jsp"/>
??????? end sample -->
??? </global-exceptions>
<!-- =========================================== Global Forward Definitions -->
??? <global-forwards>
??????? <!-- Default forward to "Welcome" action -->
??????? <!-- Demonstrates using index.jsp to forward -->
??????? <forward name="error" path="/message.jsp" />???
??? ?<forward name="message" path="/message.jsp" />
??? ?<forward name="PlatLogout" path="/web/logout.jsp" />
??? </global-forwards>
<!-- =========================================== Action Mapping Definitions -->
??? <action-mappings>
?<action
???name="playerForm"
???path="/player"
???type="org.springframework.web.struts.DelegatingActionProxy"
??????????? scope="request"
???validate="true">
???<forward
????name="ViewDetail"
????path="/playerDetail.jsp"/>
?</action>
??? </action-mappings>
??? <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
??? <message-resources parameter="MessageResources" />
??? <plug-in className="org.apache.struts.tiles.TilesPlugin" >
????? <!-- Path to XML definition file -->
????? <set-property property="definitions-config"
?????????????????????? value="/WEB-INF/tiles-defs.xml" />
????? <!-- Set Module-awareness to true -->
????? <set-property property="moduleAware" value="true" />
??? </plug-in>
? <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
??? <set-property
??????? property="pathnames"
??????? value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
? </plug-in>?
?
? <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
??? <set-property
??????? property="contextConfigLocation"
??????? value="/WEB-INF/applicationContext-struts.xml"/>
? </plug-in>
?
</struts-config>
?