i have a requirement, where in i need to validate my @RequestParam such that it is matched with my pattern
Example :
@RequestMapping(value = "/someTest") public Object sendWishes(@RequestParam("birthDate") String birthDate) { // i need birthDate to be a valid date format in YYYYMMDD format // if its not valid it should not hit this method }