title: Struts2 action embedded in URL
body: <p>I am working on web application that uses Struts 2 framework. I need to bring some changes on the this web application so I am going through it. On the JSP page I found </p>
  
  <pre class="lang-jsp prettyprint-override"><code>&lt;form name="viewIntegrationFormId" id="viewIntegrationFormId" action="&lt;integration:urlAction actionName='/integration/viewIntegration'&gt;&lt;/integration:urlAction&gt;" method="POST"&gt;
  </code></pre>
  
  <p>What is confusing in this is the <code>action</code>. Usually it is straight forward like <code>action= someActionName</code>. This way we can map it to the actual POJO. </p>
  
  <p>So what is the action name in the above and how can I map to the Java class?</p>