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

pire-db.empire-db-struts2.2.3.0.source-code.struts-empire.xml Maven / Gradle / Ivy

There is a newer version: 2.5.1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
   http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
    "http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>

	<!-- empire-default -->
	<package name="empire-default" extends="struts-default">
		<interceptors>

			<!-- org.apache.empire.struts2 Interceptors -->
	        <interceptor name="actionBasics" class="org.apache.empire.struts2.interceptors.ActionBasicsInterceptor" >
	        	<param name="errorAction">error</param>
	        </interceptor>

			<!-- org.apache.empire.struts2 Interceptors -->
	        <interceptor name="actionAccess" class="org.apache.empire.struts2.interceptors.ActionAccessInterceptor" >
	        	<param name="loginAction">login</param>
	        	<!-- 
	        	<param name="accessDeniedAction">login!doAccessDenied</param>
	        	 -->
	        </interceptor>

			<!-- Empire Default Stack -->
			<interceptor-stack name="empireDefaultStack">
				<!-- Empire-Interceptors -->
				<interceptor-ref name="actionBasics"/>
				<interceptor-ref name="actionAccess"/>
				<!-- Struts-Interceptors -->
				<!-- 
				<interceptor-ref name="exception"/>
				<interceptor-ref name="alias"/>
				<interceptor-ref name="i18n"/>
				 -->
				<interceptor-ref name="checkbox"/>
				<!-- 
				<interceptor-ref name="multiselect"/>
				 -->
				<interceptor-ref name="params">
				    <param name="excludeParams">dojo\..*,^struts\..*</param>
				</interceptor-ref>
				<!-- 
				<interceptor-ref name="servletConfig"/>
				<interceptor-ref name="prepare"/>
				<interceptor-ref name="chain"/>
				<interceptor-ref name="modelDriven"/>
				<interceptor-ref name="staticParams"/>
				<interceptor-ref name="actionMappingParams"/>
				<interceptor-ref name="params">
				    <param name="excludeParams">dojo\..*,^struts\..*</param>
				</interceptor-ref>
				<interceptor-ref name="conversionError"/>
				<interceptor-ref name="validation">
				    <param name="excludeMethods">input,back,cancel,browse</param>
				</interceptor-ref>
				<interceptor-ref name="workflow">
				    <param name="excludeMethods">input,back,cancel,browse</param>
				</interceptor-ref>
				 -->
			</interceptor-stack>

	        <!-- File upload stack -->
            <interceptor-stack name="fileUploadStack">
                <interceptor-ref name="fileUpload"/>
                <interceptor-ref name="empireDefaultStack"/>
            </interceptor-stack>
		</interceptors>

		<!-- set default stack -->
		<default-interceptor-ref name="empireDefaultStack"/>
	</package>
</struts>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy