<!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">
        <interceptors>
            <interceptor name="timer" class="com.opensymphony.xwork2.interceptor.TimerInterceptor"/>
            <interceptor name="test" class="com.opensymphony.xwork2.mock.MockInterceptor">
                <param name="foo">fooDefault</param>
            </interceptor>

            <interceptor-stack name="defaultStack">
                <interceptor-ref name="timer"/>
                <interceptor-ref name="test"/>
            </interceptor-stack>
        </interceptors>

        <default-interceptor-ref name="defaultStack" />

        <action name="TestInterceptorParam" class="com.opensymphony.xwork2.SimpleAction">
            <interceptor-ref name="defaultStack">
                <param name="test.expectedFoo">expectedFooValue</param>
            </interceptor-ref>
        </action>

        <action name="TestInterceptorParamOverride" class="com.opensymphony.xwork2.SimpleAction">
            <interceptor-ref name="defaultStack">
                <param name="test.foo">foo123</param>
                <param name="test.expectedFoo">expectedFooValue2</param>
            </interceptor-ref>
        </action>
    </package>

</xwork>
