View Resolvers with Spring Boot: Difference between revisions
From My Limbic Wiki
(Page créée avec « =JSP= =Thymeleaf= Allow Backend and Frontend developers to communicate throug text inside HTML repalaced at the template rendering with the text contained in the "text" at... ») |
|||
Line 2: | Line 2: | ||
=Thymeleaf= | =Thymeleaf= | ||
Allow Backend and Frontend developers to communicate throug text inside HTML repalaced at the template rendering with the text contained in the "text" attribute | Allow Backend and Frontend developers to communicate throug text inside HTML repalaced at the template rendering with the text contained in the "text" attribute | ||
<source lang="html"> | |||
<!-- '''Here a sample''' --> | <!-- '''Here a sample''' --> | ||
<p th:utext="#{home.welcome(${session.user.name})}"> | <p th:utext="#{home.welcome(${session.user.name})}"> | ||
Welcome to our grocery store, Sebastian Pepper! | Welcome to our grocery store, Sebastian Pepper! | ||
</p> | </p> | ||
</source> | |||
=FreeMarker= | =FreeMarker= |
Revision as of 19:53, 23 September 2019
JSP
Thymeleaf
Allow Backend and Frontend developers to communicate throug text inside HTML repalaced at the template rendering with the text contained in the "text" attribute <source lang="html">
Welcome to our grocery store, Sebastian Pepper!
</source>