<?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-portlet-default --> | |
<package name="empire-portlet-default" extends="struts-portlet-default"> | |
<!-- Result Types --> | |
<result-types> | |
<result-type name="dispatcher" class="org.apache.empire.struts2.web.EmpirePortletResult" default="true"/> | |
<result-type name="redirect" class="org.apache.empire.struts2.web.EmpirePortletResult"/> | |
</result-types> | |
<!-- Interceptors --> | |
<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> | |
<!-- Basic stack --> | |
<interceptor-stack name="empirePortletStack" > | |
<!-- Empire-Interceptors --> | |
<interceptor-ref name="actionBasics"/> | |
<interceptor-ref name="actionAccess"/> | |
<!-- Portlet-Interceptors --> | |
<interceptor-ref name="portletState"/> | |
<interceptor-ref name="portletAware"/> | |
<!-- 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="empirePortletStack"/> | |
</interceptor-stack> | |
</interceptors> | |
<!-- Default interceptor stack. --> | |
<default-interceptor-ref name="empirePortletStack"/> | |
</package> | |
</struts> |