blob: 2852fb6569b99a8778edf6c0c1c06e3062c48ad5 [file] [log] [blame]
<?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.5//EN"
"https://struts.apache.org/dtds/struts-2.5.dtd">
<struts>
<include file="xwork-test-beans.xml" />
<package name="default">
<result-types>
<result-type name="chain" class="com.opensymphony.xwork2.ActionChainResult" default="true"/>
</result-types>
<interceptors>
<interceptor name="params" class="com.opensymphony.xwork2.interceptor.ParametersInterceptor"/>
</interceptors>
</package>
<package name="namespace1" extends="default" namespace="/namespace1">
<interceptors>
<interceptor name="staticParams" class="com.opensymphony.xwork2.interceptor.StaticParametersInterceptor"/>
</interceptors>
<action name="action1" class="com.opensymphony.xwork2.SimpleAction">
<result name="success" type="chain"/>
<interceptor-ref name="params"/>
</action>
</package>
<package name="namespace2" extends="namespace1" namespace="/namespace2">
<action name="action2" class="com.opensymphony.xwork2.SimpleAction">
<result name="success" type="chain"/>
<interceptor-ref name="params"/>
</action>
</package>
<package name="namespace3" extends="namespace2" namespace="/namespace3">
<action name="action3" class="com.opensymphony.xwork2.SimpleAction">
<result name="success" type="chain"/>
<interceptor-ref name="params"/>
<interceptor-ref name="staticParams"/>
</action>
</package>
</struts>