title: Multiple Struts 2 configuration files
body: <p>I have multiple XML configs.</p>
  
  <p><strong>struts.xml</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;struts&gt;
    &lt;include file="struts-user.xml" /&gt;
  
    &lt;package name="baseInterceptors" extends="struts-default"&gt;
      &lt;interceptor name="..."&gt;
         ...
      &lt;/interceptor&gt;
         ...
    &lt;/package&gt;
  
    &lt;package name="default" extends="struts-default,baseInterceptors"&gt;
      &lt;action name="..."&gt;
         ...
      &lt;/action &gt;
         ...
    &lt;/package&gt;
  &lt;/struts&gt;
  </code></pre>
  
  <p><strong>struts-user.xml</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;struts&gt;
    &lt;package name="user" extends="struts-default,baseInterceptors"&gt;
      &lt;action name="..."&gt;
         ...
      &lt;/action &gt;
      ...
    &lt;/package&gt;
  &lt;/struts&gt;
  </code></pre>
  
  <p>But the interceptors from <code>baseInterceptors</code> are not available in <code>struts-user.xml</code>. How can I solve this problem?</p>