view gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 965:b7c6bf3cd7c9

Switching the language in the initial state is possible now (issue266). gnv/trunk@1121 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 25 May 2010 07:41:31 +0000
parents 3b70886b399b
children cd9414538f10
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"/>
        <forward name="imprint" path="/imprint.do"/>
        <forward name="info" path="/info.do"/>
    </global-forwards>

    <action-mappings>
        <action path="/imprint"
                type="org.apache.struts.actions.ForwardAction"
                parameter="/WEB-INF/jsp/imprint.jsp"
                scope="request"
                validate="false" />
        <action path="/info"
                type="org.apache.struts.actions.ForwardAction"
                parameter="/WEB-INF/jsp/info.jsp"
                scope="request"
                validate="false" />
        <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="/store"
                type="de.intevation.gnv.action.StoreAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
           <forward
                name="failure"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
        </action>
        <action path="/load"
                type="de.intevation.gnv.action.LoadAction"
                scope="request"
                validate="false">
           <forward
                name="success"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
           <forward
                name="failure"
                path="/WEB-INF/jsp/mainlayout.jsp"/>
           <forward
               name="back"
               path="/gnv/back.do"/>
           <forward
               name="selectfis"
               path="/gnv/selectFis.do"/>
        </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="back"
               path="/gnv/back.do"/>
            <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"/>
            <forward
                name="store"
                path="/gnv/store.do"/>
            <forward
                name="load"
                path="/gnv/load.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 path="/describe"
                type="de.intevation.gnv.action.DescribeUIAction"
                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 path="/language" 
                type="de.intevation.gnv.action.SwitchLanguageAction"
                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-mappings>
       
       <message-resources parameter="applicationMessages" null="false"/>
</struts-config>

http://dive4elements.wald.intevation.org