Skip to main content

WebDataBinder

Learn WebDataBinder (Data Binding, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes WebDataBinder is the object that binds request parameters onto a target object, converts types, and (optionally) validates the result. One per attribute : Spring creates a new binder for each @ModelAttribute or @RequestBody argument that needs it. Results : it fills the target and keeps all problems in a BindingResult that you can receive as the next method argument.

More lessons in Data Binding