diff gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 8:65ff6fcfee0c

Some Basic Stuff for WebProjects gnv/trunk@84 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 14 Sep 2009 13:56:03 +0000
parents 72951b955f00
children 4ebe57b170d3
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/config/struts-config.xml	Mon Sep 14 13:46:25 2009 +0000
+++ b/gnv/src/main/webapp/WEB-INF/config/struts-config.xml	Mon Sep 14 13:56:03 2009 +0000
@@ -4,13 +4,22 @@
         "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
 <struts-config>
     <global-exceptions/>
-    <global-forwards>
-        <forward name="noSession" path="/start.do"/>
-    </global-forwards>
     <action-mappings>
-    	<action path="/test.do" type="de.intevation.gnv.action.ArtifactDatabaseActionBase">
-            <description>General Forward</description>
-            <forward name="noSession" path="/WEB-INF/jsp/index.jsp"/>
+        <action path="/start" 
+                type="de.intevation.gnv.action.FetchArtifactFactoriesAction"
+                scope="request"
+                validate="false">
+           <forward
+                name="success"
+                path="/WEB-INF/jsp/index.jsp"/>
+        </action>
+        <action path="/selectArtifactFactory" 
+                type="de.intevation.gnv.action.SelectArtifactFactoryAction"
+                scope="request"
+                validate="false">
+           <forward
+                name="success"
+                path="/WEB-INF/jsp/index.jsp"/>
         </action>
        </action-mappings>
 </struts-config>

http://dive4elements.wald.intevation.org