How do you format the incoming @RequestParam
using annotations? The form is sending the date in MM/DD/YYYY format and the controller is not picking it up as a valid Date
.
@RequestMapping(params="/updateDate")
public @ResponseBody String updateDate(HttpServletRequest request
, @RequestParam Integer productId
, @RequestParam Date dateReceived) {
// Code here...
}