title: How to give default date values in requestparam in spring
body: <pre><code>@RequestMapping(value = "/getSettlements", method = RequestMethod.GET, headers = "Accept=application/json")
    public @ResponseBody
              Collection&lt;Settlement&gt; getSettlements
              (@RequestParam(value = "startDate") String startDate,
              @RequestParam(value = "endDate") String endDate,
              @RequestParam(value = "merchantIds", defaultValue = "null") String merchantIds)
  </code></pre>
  
  <p>How to give today's date in defaultValue ? It only takes constant.</p>