view gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 673:93b4dedc4e37

Implemented a mechanism to import artifacts from xml structured documents. gnv/trunk@801 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 19 Mar 2010 10:04:28 +0000
parents b89b31293772
children d3062dc8626a
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="/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="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-mappings>
       
       <message-resources parameter="applicationMessages" null="false"/>
</struts-config>

http://dive4elements.wald.intevation.org