<!DOCTYPE xwork PUBLIC
    "-//Apache Struts//XWork 1.1.1//EN"
    "http://struts.apache.org/dtds/xwork-1.1.1.dtd"
 >

<xwork>
	<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>

</xwork>

