title: Struts2 after AJAX validation success need to redirect to another page
body: <p>I am <code>not using struts2-jquery-plugin</code>. Only using <code>struts2-json-plugin with JQuery</code> latest.</p>
  
  <p><em>Want to <code>redirect/actionredirect</code> to another page after successful validation. If I do it like <code>&lt;result type="redirect"&gt;/quiz-success.jsp&lt;/result&gt;</code> OR <code>&lt;result&gt;/quiz-success.jsp&lt;/result&gt;</code> is not working.</em></p>
  
  <p><strong>Question: How do you guys do it?</strong></p>
  
  <pre><code>1 - Is it possible to do redirection etc in struts.xml during AJAX request?
  2 - I have to redirect/page refresh in $.ajax({ success: function (data) {} }); like below?
  
  $.ajax({
                      url: url,
                      type: 'POST',
                      data: viewData,
                      //dataType: "json",
                      cache: false,
                      complete: postValidation,
                      error: function (XMLHttpRequest, textStatus, errorThrown) {
                          console.log("error :"+XMLHttpRequest.responseText);
                      },
                      success: function (data) {
                          Window.location = "/cms/home.action"+sessiontoken;
                      }
                  });
  </code></pre>
  
  <p><strong>struts.xml</strong></p>
  
  <pre><code>&lt;package name="validation" namespace="/validation" extends="json-default"&gt;
          &lt;action name="quizAjax" class="com.myapp.action.QuizAction" method="sayHi"&gt;
              &lt;interceptor-ref name="jsonValidationWorkflowStack"/&gt;
              &lt;result name="input"&gt;/quiz-ajax.jsp&lt;/result&gt;
              &lt;result type="redirect"&gt;/quiz-success.jsp&lt;/result&gt;
          &lt;/action&gt;
      &lt;/package&gt;
  </code></pre>