-
thymeleaf 기본 표현식Thymeleaf 2022. 5. 31. 13:38
Thymeleaf 기본 표현식
- 변수 :
${...}
- ex)
${student.id}
- ex)
- 선택자 :
*{...}
- ex)
*{id}
- ex)
- 메시지 :
#{...}
-#{id}
- 링크 url :
@{...}
- 조건 연산자 :
and, or, not, !
- 텍스트 결합 :
${student.id} + ${student.name}
- 문장 결합 :
|...|
'Thymeleaf' 카테고리의 다른 글
타임리프 - SpringEl(변수표현식) (0) 2022.01.19 thymeleaf - text, utext, Escape, Unescape (0) 2022.01.19 Thymeleaf 문법 정리 (0) 2021.12.21 th:replace (0) 2021.12.21 - 변수 :