Spring MVC and Thymeleaf: how to acess data from templates   I wrote this article for thymeleaf.org, with a great help of Daniel Fernández. You can find it here: http://www.thymeleaf.org/doc/articles/springmvcaccessdata.html ”   12/11/2016: Updated to Thymeleaf 3.0. Find the examples used in this article in this repository: https://github.com/kolorobot/spring-boot-thymeleaf  ( http://blog.codeleak.pl/2014/04/how-to-spring-boot-and-thymeleaf-with-maven.html )   In a typical Spring MVC application, @Controller  classes are responsible for preparing a model map with data and selecting a view to be rendered. This model map  allows for the complete abstraction of the view technology and, in the case of Thymeleaf, it is   transformed into a Thymeleaf  context object (part of the Thymeleaf template execution context ) that makes all the defined variables available to expressions executed in templates.   Spring model attributes   Spring MVC calls the pieces of data that can be accessed during ...