Checkbox values do not bind into object when false?
I used ModelAttribute to bind object in Spring web application. Once I notice that, in case an object has an boolean value A is true, its value will not be updated if we uncheck A's checkbox . For example, I have a Lesson object which has the attribute "active" = true. In "Edit Lesson" view, I make a checkbox which bind into "active". Things work well if the checkbox is checked (the binding object reflect the changes), but the object lesson will not change if we un-check the checkbox. Further study tells me that's because the checkbox value may not get submitted by browser (this is an in