xwork / src / test / com / opensymphony / xwork / config / providers / xwork-test-multilevel.xml

<!DOCTYPE xwork PUBLIC
    "-//OpenSymphony Group//XWork 1.1.1//EN"
    "http://www.opensymphony.com/xwork/xwork-1.1.1.dtd"
 >

<xwork>
    <package name="default">
        <result-types>
            <result-type name="chain" class="com.opensymphony.xwork.ActionChainResult" default="true"/>
        </result-types>
        <interceptors>
            <interceptor name="params" class="com.opensymphony.xwork.interceptor.ParametersInterceptor"/>
        </interceptors>
    </package>

    <package name="namespace1" extends="default" namespace="/namespace1">
        <interceptors>
            <interceptor name="static-params" class="com.opensymphony.xwork.interceptor.StaticParametersInterceptor"/>
        </interceptors>

        <action name="action1" class="com.opensymphony.xwork.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.xwork.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.xwork.SimpleAction">
            <result name="success" type="chain"/>
            <interceptor-ref name="params"/>
            <interceptor-ref name="static-params"/>
        </action>
    </package>

</xwork>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.