Skip to main content

Property Binding

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

Fresher Notes Property binding means mapping one request parameter to one property of a bean through its setter, such as address.city to getAddress().setCity() . Property path : dots reach nested objects, brackets reach lists and maps, as in items[0].name or tags[red] . Requirement : the bean needs a public setter (or a field set up for direct access) for each bound property.

More lessons in Data Binding