title: Regarding the Struts-Default and json-default extensions
body: <p>Hi i am new to struts2 in my project i am using json-default extension for the my registration page and validating it using validation.xml file and in the same project i am using the struts-default extensions for the login page. Is there any way to configure both the extension to work in my project?
  this is my struts-register.xml</p>
  
  <pre><code>    &lt;package name="default" extends="json-default"&gt;
  
      &lt;action name="register" class="mypack.Register"&gt;
  
          &lt;interceptor-ref name="jsonValidationWorkflowStack"&gt;&lt;/interceptor-ref&gt;  
  
  
      &lt;result name="input"&gt;/index.jsp&lt;/result&gt;
      &lt;result name="success"&gt;/welcome.jsp&lt;/result&gt;
  
      &lt;/action&gt;
  
  &lt;/package&gt;
  </code></pre>
  
  <p>struts-login.xml</p>
  
  <pre><code>&lt;package name="login" namespace="/login" extends="struts-default"&gt;
  
      &lt;action name="login" class="login.action.LoginAction"&gt;
  
      &lt;result name="input"&gt;login/index.jsp&lt;/result&gt;
      &lt;result name="success"&gt;login/welcome.jsp&lt;/result&gt;
  
      &lt;/action&gt;
  
  &lt;/package&gt;
  </code></pre>
  
  <p>struts.xml file:</p>
  
  <pre><code>&lt;struts&gt;
  
  &lt;package name="default" extends="struts-default"&gt;
  
  &lt;/package&gt;
  &lt;include file="resources/login/struts-login.xml"&gt;&lt;/include&gt;
  &lt;include file="resources/register/struts-register.xml"&gt;&lt;/include&gt;
  &lt;/struts&gt;
  </code></pre>
  
  <p>here action is not getting performed in when i click on the registration button i need to integrate both the files and run them?
  This is my project structure</p>
  
  <p><img src="https://i.stack.imgur.com/QfqwI.jpg" alt="enter image description here"></p>