<select name="select" class="form-select" aria-label="Default select example"> <option value="1" th:selected="${select}=='1'">아이디</option> <option value="1" th:selected="${select}=='2'">닉네임</option> </select>
select는 컨트롤러에서 받아왔음