All Downloads are FREE. Search and download functionalities are using the official Maven repository.

WEB-INF.struts-config.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">

<struts-config>

<!-- ==================================== Data Source Configuration -->

<!-- ======================================== Form Bean Definitions -->

    <form-beans>
        <!--
          form-bean: maps ActionForm instances
          name: name of of form bean
          type: class of form bean
        -->

    	<form-bean
    		name="wcsContentForm"
    		type="org.vfny.geoserver.form.wcs.WCSContentForm"/>
    		
    	<form-bean
    		name="wcsDescriptionForm"
    		type="org.vfny.geoserver.form.wcs.WCSDescriptionForm"/>
    		
    	<form-bean
    		name="dataCoveragePluginsForm"
    		type="org.vfny.geoserver.form.wcs.DataCoveragePluginsForm"/>

    	<form-bean
    		name="dataFormatsSelectForm"
    		type="org.vfny.geoserver.form.data.CoverageStoresSelectForm"/>
    	<form-bean
    		name="dataFormatsNewForm"
    		type="org.vfny.geoserver.form.data.CoverageStoresNewForm"/>
    	<form-bean
    		name="dataFormatsEditorForm"
    		type="org.vfny.geoserver.form.data.CoverageStoresEditorForm"/>

		<!-- DATA Coverage -->
    	<form-bean
    		name="dataCoveragesSelectForm"
    		type="org.vfny.geoserver.form.data.DataCoveragesSelectForm"/>
    	<form-bean
    		name="dataCoveragesNewForm"
    		type="org.vfny.geoserver.form.data.DataCoveragesNewForm"/>
    	<form-bean
    		name="coveragesEditorForm"
    		type="org.vfny.geoserver.form.data.CoveragesEditorForm"/>

    </form-beans>

<!-- ================================= Global Exception Definitions -->

    <global-exceptions>
    </global-exceptions>

<!-- =================================== Global Forward Definitions -->

    <global-forwards>
        <!-- CONFIG wcs -->
        
       	<forward
       		name="config.wcs"
       		path="/config/wcs/index.do"/>
        <forward
       		name="config.wcs.description"
       		path="/config/wcs/description.do"/>
       	<forward
       		name="config.wcs.content"
       		path="/config/wcs/content.do"/>
       	<forward
       		name="config.wcs.coverageplugins"
       		path="/config/wcs/coverageplugins.do"/>
       		
       	<forward
       		name="wcsConfigDescription"
       		path="/config/wcs/description.do"/>
       	<forward
       		name="wcsConfigContent"
       		path="/config/wcs/content.do"/>
       	<forward
       		name="wcsConfigCoveragePlugins"
       		path="/config/wcs/coverageplugins.do"/>

        <!-- CONFIG data coverage plugins -->
       	<!--forward
       		name="config.data.coverageplugins"
       		path="/config/data/coverageplugins.do"/-->

        <!-- CONFIG data formats -->
       	<forward
       		name="config.data.format"
       		path="/config/data/format.do"/>
       	<forward
       		name="config.data.format.new"
       		path="/config/data/formatNew.do"/>
       	<forward
       		name="config.data.format.editor"
       		path="/config/data/formatEditor.do"/>

        <!-- CONFIG data coverage -->
       	<forward
       		name="config.data.coverage"
       		path="/config/data/coverageSelect.do"/>
       	<forward
       		name="config.data.coverage.new"
       		path="/config/data/coverageNew.do"/>
       	<forward
       		name="config.data.coverage.editor"
       		path="/config/data/coverageEditor.do"/>

    </global-forwards>

<!-- =================================== Action Mapping Definitions -->

    <action-mappings>
        <!-- CONFIG WCS -->        	
        <action
        	path="/config/wcs/index"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.wcs"/>    	
        <action
        	path="/config/wcs"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.wcs"/>

        <action
        	path="/config/wcs/description"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.wcs.description"/>

        <action
        	path="/config/wcs/content"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.wcs.content"/>

       <!-- DATA COVERAGE PLUGINS -->
        <action
        	path="/config/wcs/coverageplugins"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.wcs.coverageplugins"/>

       <!-- DATA FORMATS -->
        <action
        	path="/config/data/format"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.data.format"/>
        <action	
        	path="/config/data/formatNew"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.data.format.new"/>
        <action
        	path="/config/data/formatEditor"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.data.format.editor"/>        	

		<!-- DATA coverages -->
        <action
        	path="/config/data/coverageSelect"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.data.coverage"/>
        <action
        	path="/config/data/coverageNew"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.data.coverage.new"/>
        <action
        	path="/config/data/coverageEditor"
        	type="org.apache.struts.actions.ForwardAction"
        	parameter="config.data.coverage.editor"/>        	        	

<!-- Submit Actions -->    
       	<!-- WCS Actions -->
        <action
        	path="/config/wcs/descriptionSubmit"
        	type="org.vfny.geoserver.action.wcs.WCSDescriptionAction"
        	name="wcsDescriptionForm"
        	scope="request"
        	validate="true"
        	input="/config/wcs/description.do"/>
        	
        <action
        	path="/config/wcs/contentSubmit"
        	type="org.vfny.geoserver.action.wcs.WCSContentAction"
        	name="wcsContentForm"
        	scope="request"
        	validate="true"
        	input="/config/wcs/content.do"/>
        	
       	<!-- DATA Coverage Plugins Actions -->
        <action
        	path="/config/wcs/coveragePlugins"
        	type="org.vfny.geoserver.action.wcs.CoveragePluginsAction"
        	name="dataCoveragePluginsForm"
        	scope="request"
        	validate="true"
        	input="/config/wcs/coverageplugins.do"/>

       	<!-- DATA Formats Actions -->
        <action
        	path="/config/data/formatSubmit"
        	type="org.vfny.geoserver.action.data.CoverageStoresEditorAction"
        	name="dataFormatsEditorForm"
        	scope="request"
        	validate="true"
        	input="/config/data/formatEditor.do"/>
        	
        <action
        	path="/config/data/formatSelectSubmit"
        	type="org.vfny.geoserver.action.data.CoverageStoresSelectAction"
        	name="dataFormatsSelectForm"
        	scope="request"
        	validate="true"
        	input="/config/data/formatEditor.do"/>

        <action
        	path="/config/data/formatNewSubmit"
        	type="org.vfny.geoserver.action.data.CoverageStoresNewAction"
        	name="dataFormatsNewForm"
        	scope="request"
        	validate="true"
        	input="/config/data/formatNew.do"/>        	
      
		<!-- DATA Coverage Actions -->
        <action
        	path="/config/data/coverageSelectSubmit"
        	type="org.vfny.geoserver.action.data.DataCoveragesSelectAction"
        	name="dataCoveragesSelectForm"
        	scope="request"
        	validate="true"
        	input="/config/data/coverageSelect.do"/>
         <action
        	path="/config/data/coverageNewSubmit"
        	type="org.vfny.geoserver.action.data.DataCoveragesNewAction"
        	name="dataCoveragesNewForm"
        	scope="request"
        	validate="true"
        	input="/config/data/coverageNew.do"/>        	
        <action
        	path="/config/data/coverageEditorSubmit"
        	type="org.vfny.geoserver.action.data.CoveragesEditorAction"
        	name="coveragesEditorForm"
        	scope="request"
        	validate="true"
        	input="/config/data/coverageEditor.do"/>
<!-- End Submit Actions -->

    </action-mappings>

</struts-config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy