patrickl 01/12/06 14:58:33
Modified: webapps/admin/WEB-INF struts-config.xml
Log:
Implementation of support for the Tomcat Server node in the admin webapp
Submitted by: Manveen Kaur
Revision Changes Path
1.9 +26 -0 jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- struts-config.xml 2001/11/21 01:10:09 1.8
+++ struts-config.xml 2001/12/06 22:58:33 1.9
@@ -19,6 +19,10 @@
<form-bean name="sampleForm"
type="org.apache.webapp.admin.SampleForm"/>
+ <!-- Server form bean -->
+ <form-bean name="serverForm"
+ type="org.apache.webapp.admin.ServerForm"/>
+
<!-- Set Locale form bean -->
<form-bean name="setLocaleForm"
type="org.apache.webapp.admin.SetLocaleForm"/>
@@ -46,6 +50,10 @@
path="/tree-control-test.jsp"
redirect="false"/>
+ <forward name="Server"
+ path="/server.jsp"
+ redirect="false"/>
+
<forward name="Save Successful"
path="/saved.jsp"
redirect="false"/>
@@ -73,6 +81,16 @@
redirect="true"/>
</action>
+ <!-- Set up Tree datastructure -->
+ <action path="/setUpServer"
+ type="org.apache.webapp.admin.SetUpServerAction"
+ name="serverForm"
+ scope="session">
+ <forward name="SetUpServer"
+ path="/server.jsp"
+ redirect="true"/>
+ </action>
+
<!-- Log out of the application -->
<action path="/logOut"
type="org.apache.webapp.admin.LogOutAction">
@@ -87,6 +105,14 @@
name="sampleForm"
scope="session"
input="/sample.jsp">
+ </action>
+
+ <!-- Process a user server change -->
+ <action path="/server"
+ type="org.apache.webapp.admin.ServerAction"
+ name="serverForm"
+ scope="session"
+ input="/server.jsp">
</action>
<!-- Process a set-locale action -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>