binding request data to bean using spring ServletRequestDataBinder
A simple way to bind request data to a POJO bean using SpringServletRequestDataBinder:ServletRequestDataBinder binder = new ServletRequestDataBinder(user); binder.bind(request);