Thymeleaf is an actively used template language created in 2011. Thymeleaf is a Java XML/XHTML/HTML5 template engine that can work both in web (servlet-based) and non-web environments. It is better suited for serving XHTML/HTML5 at the view layer of MVC-based web applications, but it can process any XML file even in offline environments. It provides full Spring Framework integration. Read more on Wikipedia...

9Years Old 20Users ?Jobs

Example code from Wikipedia:

      <th th:text="#{}">Name</th>
      <th th:text="#{msgs.headers.price}">Price</th>
    <tr th:each="prod : ${allProducts}">
      <td th:text="${}">Oranges</td>
      <td th:text="${#numbers.formatDecimal(prod.price,1,2)}">0.99</td>

Last updated June 22nd, 2020

Edit Thymeleaf on GitHub