If there is an error in the form, how to rebind the Radio of the Thymeleaf form?

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?

Apr.01,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b371c1-2c063.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b371c1-2c063.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?