[Spring Web MVC]using Thymeleaf to declare object and pass data to server

cheolhakja·2022년 5월 4일
0

spring

목록 보기
4/9

th:object="${greeting}" declare object thymeleaf

@ModelAttribute bound incoming form content to method parameter

어떻게 뷰에서 생성한 객체를 메서드 파라미터와 연결짓는지 궁금함. ModelAttribute.

뷰의 타임리프 필드 값과 객체 필드값을 어떻게 연결지을까? 필드 이름으로? setter이름으로?(카멜 케이스)

0개의 댓글

관련 채용 정보