view gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 582:b8ea9383d285

Implemented a One-Step-Back-History. gnv/trunk@723 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Mar 2010 10:53:30 +0000
parents 3f7bbc6dc751
children b89b31293772
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="/version"
                type="de.intevation.gnv.action.ArtifactDatabaseActionBase"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/version.jsp"/>
        </action>
        <action path="/extcall" 
                type="de.intevation.gnv.action.mapviewer.MapViewerCallAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
        <action path="/mvcall" 
                type="de.intevation.gnv.action.mapviewer.ShowMapViewerCallBodyAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
        <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"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </action>
        <action path="/back"
                 type="de.intevation.gnv.action.PreviousArtifactStepAction"
                 scope="request"
                 validate="false">
            <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </action>
        <action path="/selectFis"
                type="de.intevation.gnv.action.SelectFisAction"
                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"/>
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </action>
        <action path="/out" 
                type="de.intevation.gnv.action.DoOutputAction"
                scope="request"
                validate="false">
        </action>
        <action path="/wms" 
                type="de.intevation.gnv.action.WMSAction"
                scope="request"
                validate="false">
            <forward
                name="success"
                path="/WEB-INF/jsp/wmslayout.jsp"/>
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </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"/>
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </action>
        <action path="/histogram" 
                type="de.intevation.gnv.action.CreateHistogramAction"
                scope="request"
                validate="false">
            <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </action>
        <action path="/chart" 
                type="de.intevation.gnv.action.CreateChartAction"
                scope="request"
                validate="false">
            <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
        </action>
        <action path="/statistic"
                type="de.intevation.gnv.action.ShowStatisticAction"
                scope="request"
                validate="false">
            <forward
                name="back"
                path="/gnv/back.do"/>
            <forward
                name="selectfis"
                path="/gnv/selectFis.do"/>
            <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