thymeleaf concatenate two variables code example Example: theme leaf concatenate Click to copy<p th:text="${bean.field + '!' + bean.field}">Static content</p>