title: struts2 s:form element trims the s:url parameter in the action attribute
body: <p>I am using <code>&lt;s:url&gt;</code> to create a URL like <code>removeAction.action?id=10</code> which should be used by the action attribute in the <code>&lt;s:form&gt;</code> element.</p>
  
  <p>The issue here is when the <code>&lt;s:form&gt;</code> converts to <code>&lt;form&gt;</code> element I can only see the action attribute value as <code>action="/project/removeAction.action"</code>. The id parameter is getting trimmed. The result I wanted is <code>action="/project/removeAction.action?id=10"</code></p>
  
  <pre><code>&lt;s:url var="actionUrl" action="removeAction" includeContext="false"&gt;
    &lt;s:param name="id" value="%{id}" /&gt; 
  &lt;/s:url&gt;
  
  &lt;s:form action="%{actionUrl}" method="post" enctype="multipart/form-data" &gt;
   &lt;div&gt;
    &lt;s:file name="imgUpload"/&gt;
    &lt;s:submit&gt; upload &lt;/submit&gt;
   &lt;/div&gt;
  &lt;/s:form&gt;
  </code></pre>
  
  <p>Recently I upgrade the struts2 core version to 2.3.12 and I am getting this issue. This issue starts after version 2.3.4.1</p>
  
  <p>And I don't want to use a <code>hidden</code> attribute to pass the parameter as this parameter get lost when the file size is big to upload.</p>
  
  <p>Is there any solution for this?</p>