title: SPRING --- How to submit an array of object to controller
body: <p>As title,</p>
  
  <p>i using angularjs to submit</p>
  
  <p>my spring controller:</p>
  
  <pre><code>@RequestParam(value = "hashtag[]") hashtag[] o
  </code></pre>
  
  <p>above are work for array parameter but not an array object</p>
  
  <p>my js script:</p>
  
  <pre><code>$http({
           method: 'POST',
           url: url,
           data: $.param({
                  hashtag : [{label:"success",value:"ok"},{label:"success",value:"ok"},{label:"success",value:"ok"}],
                 }),
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' }  });
  </code></pre>
  
  <p>i observe from chrome, the form data is</p>
  
  <pre><code>    hashtag[0][label]:success
      hashtag[0][value]:10
  
      hashtag[1][label]:success
      hashtag[2][value]:10
  
      hashtag[3][label]:success   
      hashtag[3][value]:10
  </code></pre>
  
  <p>But the Spring show me </p>
  
  <pre><code>org.springframework.web.bind.MissingServletRequestParameterException: Required hashtag[] parameter 'id[]' is not present
  </code></pre>
  
  <p>Previously i was able to receive an array of parameters, but not an object. so can someone enlighten me?</p>