title: Spring MVC: @RequestMapping: How to catch Map parameter?
body: <p>I have the controller method for processing form submitting:</p>
  
  <pre><code>@RequestMapping(method = {RequestMethod.POST})
      public String submitForm(...){...}
  </code></pre>
  
  <p>But, I have got a new test case:</p>
  
  <p>If Form has parameter <code>ProductData</code> call controller method <code>submitFormWithProductData</code>. and I am facing difficulties with this, because <code>ProductData</code> is a <code>Map</code>. On Site <code>ProductData</code> field in form tag looks like:</p>
  
  <pre><code>&lt;input type="text" name="productData['param1']"&gt;
  &lt;input type="text" name="productData['param2']"&gt;
  </code></pre>
  
  <p>And I don't know, how to create right <code>@RequestMapping</code> annotation for <code>submitFormWithProductData</code> method.</p>
  
  <p>I have tried: </p>
  
  <pre><code>@RequestMapping(method = {RequestMethod.POST}, params="productData")
  </code></pre>
  
  <p>and </p>
  
  <pre><code>@RequestMapping(method = {RequestMethod.POST}, params="productData[]")
  </code></pre>
  
  <p>but I didn't get success.</p>