This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Chain Result
Skip to end of metadata
Go to start of metadata

This result invokes an entire other action, complete with it's own interceptor stack and result.


  • actionName (default) - the name of the action that will be chained to
  • namespace - used to determine which namespace the Action is in that we're chaining. If namespace is null, this defaults to the current namespace
  • method - used to specify another method on target action to be invoked. If null, this defaults to execute method
  • skipActions - (optional) the list of comma separated action names for the actions that could be chained to


Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'
<package name="public" extends="struts-default">
    <!-- Chain creatAccount to login, using the default parameter -->
    <action name="createAccount" class="...">
        <result type="chain">login</result>

    <action name="login" class="...">
        <!-- Chain to another namespace -->
        <result type="chain">
            <param name="actionName">dashboard</param>
            <param name="namespace">/secure</param>

<package name="secure" extends="struts-default" namespace="/secure">
    <action name="dashboard" class="...">
  • No labels