View Resolvers with Spring Boot: Difference between revisions
From My Limbic Wiki
Line 3: | Line 3: | ||
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"> | <source lang="html"> | ||
<!-- '''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! |
Revision as of 19:54, 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>