title: List of Objects as RequestParam in Spring MVC
body: <p>I want to send a list of object id's (generated by the user selecting checkboxes) by <strong>POST</strong> to an action, so I can get a <code>java.util.List&lt;MyObject&gt;</code> converted using an <code>MyObjectEditor</code>.</p>
  
  <p>So, is it possible to do this?</p>
  
  <pre><code>@InitBinder
  public void initBinder (WebDataBinder binder) {
      binder.registerCustomEditor(MyObject.class, new MyObjectEditor());
  }
  @RequestMapping (value = "", method = RequestMethod.POST)
  public String action (@RequestParam List&lt;MyObject&gt; myList, Model model) {
      // more stuff here
  }
  </code></pre>
  
  <p>And my POST would be like this:</p>
  
  <pre><code>myList[0] = 12
  myList[1] = 15
  myList[2] = 7
  </code></pre>
  
  <p>Thanks!</p>