title: Reloading a div with ajax is not working
body: <p>I am following this tutorial on struts2-jquery plugin <a href="https://cwiki.apache.org/S2PLUGINS/jquery-plugin-easy-ajax-and-widget-integration.html" rel="nofollow">Here</a></p>
  
  <p>But the ajax call seems to be not working, when I click the link nothing happens. Here is my action class.</p>
  
  <pre><code>package actions;
  
  import com.opensymphony.xwork2.ActionSupport;
  
  public class AjaxTest extends ActionSupport{
      public String execute(){
          return "success";
      }
  }
  </code></pre>
  
  <p>struts.xml</p>
  
  <pre><code>&lt;package name="basicstruts" extends="json-default"&gt;
  &lt;action name="AjaxTest" class="actions.AjaxTest"&gt;
    &lt;interceptor-ref name="jsonValidationWorkflowStack"/&gt;
      &lt;result name  = "success"&gt;hello.jsp&lt;/result&gt;
  &lt;/action&gt;
  &lt;/package&gt;
  </code></pre>
  
  <p>And lastly the index.jsp</p>
  
  <pre><code>&lt;%@ taglib prefix="s" uri="/struts-tags"%&gt;
  &lt;%@ taglib prefix="sj" uri="/struts-jquery-tags"%&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;sj:head/&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="div1"&gt;Div 1&lt;/div&gt;
      &lt;s:url id="ajaxTest" value="/AjaxTest.action"/&gt;
  
      &lt;sj:a id="link1" href="%{ajaxTest}" target="div1"&gt;
        Update Content
      &lt;/sj:a&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>