struts-config.xml
01 <?xml version="1.0" encoding="ISO-8859-1" ?>
02 <!DOCTYPE struts-config PUBLIC
03           "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
04           "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
05 
06 <struts-config>
07 
08   <!--   F O R M   B E A N S   -->
09   <form-beans>
10   </form-beans>
11 
12   <!--   G L O B A L   F O R W A R D S   -->
13   <global-forwards>
14     <forward name="medrec.startpage" path="http://localhost:7101/start.jsp" redirect="true"/>
15   </global-forwards>
16 
17   <!--   A C T I O N   M A P P I N G S   -->
18   <action-mappings type="org.apache.struts.config.SecureActionConfig">
19     <action
20       path="/changelocale"
21       type="com.bea.medrec.actions.ChangeLocaleAction">
22       <set-property property="secure" value="false"/>
23     </action>
24   </action-mappings>
25 
26   <!--   C O N T R O L L E R   -->
27   <controller>
28     <set-property property="debug" value="2"/>
29     <set-property property="nocache" value="true"/>
30   </controller>
31 
32   <!--   M E S S A G E   R E S O U R C E S   -->
33   <message-resources
34     parameter="com.bea.medrec.utils.ApplicationResources"/>
35 
36   <plug-in className="org.apache.struts.action.SecurePlugIn">
37     <set-property property="httpPort" value="7101"/>
38     <set-property property="httpsPort" value="7102"/>
39     <set-property property="enable" value="true"/>
40     <set-property property="addSession" value="true"/>
41   </plug-in>
42 
43 </struts-config>