title: get the struts.xml action name in jsp
body: <p>I have struts.xml like</p>
  
  <pre><code>&lt;action name="actionName" class=myClass" method="myMethod"&gt; 
              &lt;result name="success" &gt;/WEB-INF/jsp/fold/myJsp.jsp&lt;/result&gt;    
              &lt;result name="failure" &gt;/WEB-INF/jsp/fold/myresult.jsp&lt;/result&gt;
          &lt;/action&gt; 
  </code></pre>
  
  <p>Based on success or failure corresponding pages will be displayed. I want to get the action name in my jsp in case of failure. </p>
  
  <p>Is it possible to do so ?</p>