title: How to provide default values for array parameters in spring MVC url mapping?
body: <pre><code>@RequestMapping(value = "/getUserScoreCardDetails", method = RequestMethod.GET)
  public @ResponseBody List&lt;ScoreDetails&gt; getUserScoreCardDetails(
  @RequestParam(value = "playerIds", required = false) int[] playerIds) { 
  
  }
  </code></pre>
  
  <p>I need to provide default values [1,2,3] for playerIds if playerIds is not available in request?</p>