thymeleaf set conditions code example Example: thymeleaf th:if two conditions th:if="${lang=='A'} and ${lang=='B'}"