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