title: Passing parameters in URL without query string in Struts 2
body: <p>I want to use URLs like</p>
  <p><code>host/ActionName/123/abc/</code></p>
  <p>instead of passing query string like</p>
  <p><code>host/ActionName?parm1=123&amp;parm2=abc</code></p>
  <p>How can I do that in Struts 2?</p>
  <p>I done as below but it is not working, showing 500 error code</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;constant name=&quot;struts.enable.SlashesInActionNames&quot; value=&quot;true&quot;/&gt;
  &lt;constant name=&quot;struts.mapper.alwaysSelectFullNamespace&quot; value=&quot;false&quot;/&gt;
  
  &lt;package name=&quot;default&quot; extends=&quot;struts-default&quot; namespace=&quot;/&quot;&gt;
          &lt;action name=&quot;/action/*&quot;
      class=&quot;gov.apiic.serviceRequest.action.ServiceRequest&quot; method=&quot;method&quot; &gt;
      &lt;param name=&quot;p1&quot;&gt;{1}&lt;/param&gt;
      &lt;result name=&quot;success&quot;&gt;views.jsp&lt;/result&gt;
      &lt;/action&gt;
  &lt;/package&gt;
  </code></pre>