title: struts interceptor running twice
body: <p>I have just created some a struts interceptor.</p>
  
  <pre><code>    &lt;interceptors&gt;
          &lt;interceptor name="alertableActionInterceptor" class="com.mycompany.web.interceptor.AlertableActionInterceptor" /&gt;
          &lt;interceptor-stack name="eposWebAuditStack"&gt;
              &lt;interceptor-ref name="alertableActionInterceptor"/&gt;
              &lt;interceptor-ref name="defaultStack"/&gt;
          &lt;/interceptor-stack&gt;            
      &lt;/interceptors&gt; 
  
      &lt;action name="healthCheck"
          class="com.mycompany.web.action.HealthCheckAction"
          method="input"&gt;
          &lt;interceptor-ref name="eposWebAuditStack"/&gt;
          &lt;result name="input" type="tiles"&gt;page.healthCheck&lt;/result&gt;
      &lt;/action&gt;
  </code></pre>
  
  <p>This is how my interceptor looks like. </p>
  
  <pre><code>public class AlertableActionInterceptor extends AbstractInterceptor {
  
  private static final long serialVersionUID = 3149079243463745381L;
  
  /* (non-Javadoc)
   * @see com.opensymphony.xwork2.interceptor.AbstractInterceptor#intercept(com.opensymphony.xwork2.ActionInvocation)
   */
  @Override
  public String intercept(ActionInvocation invocation) throws Exception {
      System.out.println("Running Inteceptor" + new Date());
      /* pre-processing */          
      final ActionContext context = invocation.getInvocationContext();
      HttpServletRequest request = (HttpServletRequest) context.get(StrutsStatics.HTTP_REQUEST);
  
      /* call action */
      String result = invocation.invoke();          
      boolean doLogic = Boolean.valueOf(updateNotifications); 
      if (doLogic){
          System.out.println("Running Inteceptor with doLogicFlag");
      }       
      return result;
  }
  </code></pre>
  
  <p>I have added some print statements to show that when I hit my healthCheck.action url, the interceptor seems to be executed twice even though I hit the Url once. </p>
  
  <p><img src="https://i.stack.imgur.com/Zn4XY.png" alt="enter image description here"></p>
  
  <p>Can someone help me with why this might be happening?</p>
  
  <p>I've added a screenshot here showing the http request in firebug. It looks here as if there is a root request and then a subsequent child request (doubled up). Am I reading this right? If so looks like somehow my http requests are bring doubled up.</p>
  
  <p><img src="https://i.stack.imgur.com/Jtgm2.png" alt="enter image description here"></p>
  
  <p>Here is what the jsp looks like...</p>
  
  <p><a href="http://pastebin.com/Thv0rNLY" rel="nofollow noreferrer">http://pastebin.com/Thv0rNLY</a> (include 1)</p>
  
  <p><a href="http://pastebin.com/8PyueWkf" rel="nofollow noreferrer">http://pastebin.com/8PyueWkf</a> (include 2)</p>
  
  <p><a href="http://pastebin.com/UweqAbp5" rel="nofollow noreferrer">http://pastebin.com/UweqAbp5</a> (include 3 -- content)</p>