title: Can I tell spring to ignore query parameters?
body: <p>If I submit this form:</p>
  
  <pre><code>&lt;form id="confirmForm" method="POST"&gt;
      &lt;input type="hidden" name="guid" value="guidval"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>to this url:</p>
  
  <p><code>/AltRT?guid=guidval</code></p>
  
  <p>mapped to this controller method:</p>
  
  <pre><code>@RequestMapping(method = RequestMethod.POST)    
  public String indexPost(@RequestParam String guid)
  </code></pre>
  
  <p>I am getting both values for my guid. So the value of <code>guid</code> is <code>guidval,guidval</code>. I would like to only get the value from the form. </p>
  
  <p>Is there any way tell Spring to ignore query string parameters?</p>
  
  <p>EDIT for more clarification: The query string is left over from another (get) request. So, if I could clear the query string that would work as well. Also, I do not want edit the <code>name</code> of the form input because I want this post endpoint to be available to other services without having to change them as well. </p>