Code hiển thị message dạng chữ hoa trong thymeleaf:
<li class="nav-header"
th:with="componentsTitle=#{components.title}"
th:text="${#strings.toUpperCase(componentsTitle)}"></li>
Tham khảo thêm: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#strings
Sharing