the status attribute of the entity class User is of Boolean type,
private Boolean status;
radio group in form form
<div class="control-group">
<label class="control-label"></label>
<div class="controls">
<label class="radio inline"><input type="radio" name="status" value="1" checked="checked" th:checked="${user.status}" /></label>
<label class="radio inline"><input type="radio" name="status" value="0" th:checked="${user.status}"/></label>
</div>
</div>
when there is an error in the form, return to the form page, other text input boxes can bind data normally, but radio will not select the value I submitted, how to solve this?