title: Struts2 token interceptor in annotation
body: <p>I'm using struts 2.3.1 with token interceptor.How can i use token interceptor in annotation(convension) based Action Class.</p>
  
  <p>here is My struts.xml</p>
  
  <pre><code>&lt;action name="tokenAction" class="roseindia.action.TokenAction"&gt;
  
   &lt;interceptor-ref name="token" /&gt;
  
   &lt;interceptor-ref name="basicStack"/&gt;
  
   &lt;result name="success" &gt;/success.jsp&lt;/result&gt;
  
   &lt;result name="invalid.token"&gt;/index.jsp&lt;/result&gt;
  </code></pre>
  
  <p></p>
  
  <p>can any one please tell annotation based for the same.   </p>