<!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-type name="mock" class="com.opensymphony.xwork2.mock.MockResult"/>
        </result-types>

        <global-results>
            <!-- should be chain type since it is the default -->
            <result name="login">login</result>
        </global-results>

        <action name="Bar" class="com.opensymphony.xwork2.SimpleAction">
            <result name="chainDefaultTypedResult" />
            <result name="mockTypedResult" type="mock" />
            <result name="specificLocationResult">
                <param name="actionName">bar.vm</param>
            </result>
            <result name="defaultLocationResult">foo.vm</result>
            <result name="noDefaultLocationResult"> <!-- this will have only one param, named foo -->
                foo.vm
                <param name="foo">bar</param>
            </result>
        </action>
    </package>
</xwork>
