title: AJAX validation not working with struts2 Jquery plugin
body: <p>I am writing a web application with struts2 + Jquery plugin.<br>
  I am using AJAX form submission with sj:submit tag from jquery plugin.
  I am facing an issue while validating the form (AJAX) with "validate= true" tag in sj:submit.
  Following is the sj:submit tag: </p>
  
  <pre><code>&lt;sj:submit value="ADDUSERNOW" onBeforeTopics="before" onSuccessTopics="success" 
      onErrorTopics="errorState" onCompleteTopics="complete" targets="userMgmntDiv" validate="true"/&gt;
  </code></pre>
  
  <p>My html head section also contains references to two js files required for validation as below.</p>
  
  <pre><code>&lt;script language="JavaScript" src="${pageContext.request.contextPath}/struts/utils.js" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script language="JavaScript" src="${pageContext.request.contextPath}/struts/xhtml/validation.js" type="text/javascript"&gt;&lt;/script&gt;  
  </code></pre>
  
  <p>Validation xml is given below which is named as ActionClass-validation.xml and is placed in the same package as that of a class on which validation is invoked: </p>
  
  <pre><code>        &lt;validators&gt;
              &lt;field name="userModel.userName"&gt;
                  &lt;field-validator type="requiredstring"&gt;
                      &lt;message&gt;UserName Is Required&lt;/message&gt;
                  &lt;/field-validator&gt;
              &lt;/field&gt;
          &lt;/validators&gt;
  </code></pre>
  
  <p>After form is submitted , no validation is triggered , and execution proceeds and struts2 action class is called.<br>
  Is there anything I am missing here ? I have searched a lot but couldn't find any answer .Please help<br>
  struts2-core version : 2.3.4 
  struts2-jquery-plugin :3.3.3 
  Action configuration looks loke below : </p>
  
  <pre><code>&lt;action class="addUserAction" method="addUser"&gt;
      &lt;interceptor-ref name="jsonValidationWorkflowStack"/&gt;
      &lt;result&gt;addUser.jsp&lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>In addition to above,I am using spring + struts2 + hibernate for achieving above task.When I tried the example as shown in struts2-jason wiki page : ,I am getting error as : cannot find action with class named AddUserAction(which is a bean in spring-beans.xml)
  It seems that error is thrown when validator inteceptor is invoked.
  When I comment out the annotations used for validation on the action class - AddUserAction, this error vanishes and page loads successfully. 
  Following are my questions  : 
  1)How can I use spring alongwith struts2 convention plugin ? This is because , convention plugin uses its own mechanism for mapping urls and action (using annotations or default behaviour). 
  2)Previuosly , I was expecting struts.xml file can be used for url to action mapping , and annotations can be used for validations. (using convention plugin)But this approach doesn't seem to work.(convention plugin + struts.xml doesn't work)</p>