title: Spring: Handling errors when type mismatch in @RequestParam
body: <p>I have a request hanlder (method in @Controller class) with some @RequestParam args invoked when a form is submitted. I have various types of args like strings, ints, enums and objects ...
  When the form is submitted if spring cannot bind a param to arg, returns a responce with
  error 400 or 500 (I haven't understood which cases correspond to each error yet).
  I would prefer to handle this mismatch by sending feedback to the user highlighting which field in the form was bad and why ...</p>
  
  <p>One simple case of doing that is by changing all @RequestParams to strings, and do the conversions inside the handler and respond with feedbacks if any errors. (Errors may vary from type mismatch to invalid param ie negative number for age).</p>
  
  <p>Is there any better way?</p>