view gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 43:830f4cf0e4ab

Added Global Forward to determine the Start-URL of the Project. gnv/issue14 gnv/trunk@185 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 06 Oct 2009 09:23:28 +0000
parents bba8fd97e549
children d6c0d426e38a
line wrap: on
line source
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
        "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
    <global-exceptions/>
     <global-forwards>
        <forward name="entrance" path="/start.do"/>
    </global-forwards>
    
    <action-mappings>
        <action path="/start" 
                type="de.intevation.gnv.action.FetchArtifactFactoriesAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
        <action path="/selectArtifactFactory" 
                type="de.intevation.gnv.action.SelectArtifactFactoryAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
        <action path="/next" 
                type="de.intevation.gnv.action.NextArtifactStepAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
                <action path="/out" 
                type="de.intevation.gnv.action.DoOutputAction"
                scope="request"
                validate="false">
        </action>
        <action path="/export" 
                type="de.intevation.gnv.action.DoExportAction"
                scope="request"
                validate="false">
        </action>
        <action path="/changeOptions" 
                type="de.intevation.gnv.action.ChangeOptionsAction"
                scope="request"
                validate="false">
                <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
       </action-mappings>
       
       <message-resources parameter="applicationMessages" null="false"/>
</struts-config>

http://dive4elements.wald.intevation.org