[Thymeleaf] 다양한 th: 표현과 #strings 유틸리티 사용할 Thymeleaf 표현식과 strings 유틸리티는 다음과 같다. Thymeleaf 표현식 th:if th:text th:unless th:text thymeleaf Strings 유틸리티 #strings.equals #strings.isEmpty #strings.contains 먼저 Controller 를 보면 msg 값만 던져준다. msg 값은 'Hello world' 인 것을 알 수 있다. 그리고 다음 html 코드를 본다. string-util.html 파일의 코드이다. 첫 번째 th:if 는 참인 경우 태그의 내용을 출력한다. #strings.equals 함수는 두 개의 argument의 값이 같은지를 비교 후 boole..