<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xwork PUBLIC
    "-//Apache Struts//XWork 2.0//EN"
    "http://struts.apache.org/dtds/xwork-2.0.dtd">

<xwork>
	<package name="packageOne">
		<result-types>
			<result-type name="mock" class="com.opensymphony.xwork2.mock.MockResult" />
		</result-types>

		<interceptors>
			<interceptor name="interceptorOne" class="com.opensymphony.xwork2.config.providers.InterceptorForTestPurpose" />
			<interceptor name="interceptorTwo" class="com.opensymphony.xwork2.config.providers.InterceptorForTestPurpose" />
			<interceptor name="interceptorThree" class="com.opensymphony.xwork2.config.providers.InterceptorForTestPurpose" />

			<interceptor-stack name="stackOne">
				<interceptor-ref name="interceptorOne" />
				<interceptor-ref name="interceptorTwo" />
				<interceptor-ref name="interceptorThree" />
			</interceptor-stack>

			<interceptor-stack name="stackTwo">
				<interceptor-ref name="stackOne" />
			</interceptor-stack>

			<interceptor-stack name="stackThree">
				<interceptor-ref name="stackTwo" />
			</interceptor-stack>

		</interceptors>

		<action name="actionOne">
			<interceptor-ref name="stackTwo">
				<param name="stackOne.interceptorOne.paramOne">i1p1</param>
				<param name="stackOne.interceptorOne.paramTwo">i1p2</param>
				<param name="stackOne.interceptorTwo.paramOne">i2p1</param>
			</interceptor-ref>
			<result name="success" type="mock">test1</result>
		</action>

		<action name="actionTwo">
			<interceptor-ref name="stackThree">
				<param name="stackTwo.stackOne.interceptorThree.paramOne">i3p1</param>
				<param name="stackTwo.stackOne.interceptorThree.paramTwo">i3p2</param>
				<param name="stackTwo.stackOne.interceptorTwo.paramTwo">i2p2</param>
			</interceptor-ref>
			<result name="success" type="mock">test2</result>
		</action>
	</package>
</xwork>
