<?xml version="1.0" encoding="UTF-8"?>
<!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="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>
		</interceptors>
		
		<action name="actionOne">
			<interceptor-ref name="stackOne">
				<param name="interceptorOne.paramOne">i1p1</param>
				<param name="interceptorOne.paramTwo">i1p2</param>
				<param name="interceptorTwo.paramOne">i2p1</param>
			</interceptor-ref>
			<result name="success" type="mock">test1</result>
		</action>
		
		<action name="actionTwo">
			<interceptor-ref name="stackOne">
				<param name="interceptorThree.paramOne">i3p1</param>
				<param name="interceptorThree.paramTwo">i3p2</param>
				<param name="interceptorTwo.paramTwo">i2p2</param>
			</interceptor-ref>
			<result name="success" type="mock">test2</result>
		</action>
	</package>
</xwork>    
    