<input type="text" th:field="*{phone}" th:value="${account.phone}">
- 변경
th:field=*{} 대신 th:id와 th:name을 사용
<input type="text" th:id="phone" th:name="phone" th:value="${account.phone}">
'Web' 카테고리의 다른 글
Springboot Security는 어떤 역할을 할까? (0) | 2024.06.01 |
---|---|
[springboot] DB연결하기 - local MySQL+MyBatis (프로젝트 구조, 환경변수 설정, 연결확인) (0) | 2024.06.01 |
[Springboot] 프로젝트 생성 후 에러발생: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.3.0 (0) | 2024.05.29 |
[Springboot] 프로젝트 생성하기 (0) | 2024.05.29 |
[spring] Spring Framework 개요 (0) | 2021.04.10 |