View Resolvers with Spring Boot: Difference between revisions

From My Limbic Wiki
Line 4: Line 4:
<source lang="html">
<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>
</source>


=FreeMarker=
=FreeMarker=

Revision as of 18:55, 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>

FreeMarker