title: How can I use multiple conditions (and, or) in thymeleaf th:if
body: <p>When I use thymeleaf <code>th:if</code>, I want to sum this code:</p>
  
  <pre><code>th:if=${lang.equals('A') or lang.equals('B')}.
  </code></pre>
  
  <p>I use <code>||</code>, the "or", but it is not used.</p>
  
  <p>It works in spring framework, thymeleaf:</p>
  
  <pre><code>th:if=${lang.equals('A')
  th:if=${lang.equals('B')
  </code></pre>
  
  <p>I want to sum this code.</p>
  
  <pre><code>th:if=${lang.equals('A') or lang.equals('B')}
  </code></pre>