title: How can I trim whitespace from request parameters in Spring MVC
body: <p>I'm struggling to believe that my need to trim leading and trailing whitespace from request parameters is not a common requirement, and yet I can't seem to find anyone who has a good answer to solving it.</p>
  
  <p>Surely there is some simple way to configure, say, the Spring <code>WebDataBinder</code> to trim all whitespace from parameter values before mapping them to a target object?</p>
  
  <p>I'd be really keen to know how other people have tackled this.</p>