首页 > 其他 > 详细

thymeleaf

时间:2019-12-04 11:32:42      阅读:72      评论:0      收藏:0      [点我收藏+]
导入依赖

<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring5</artifactId>
</dependency>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-java8time</artifactId>
</dependency>

 

文本:th:text不转义字符  即里面内容的标签内容,th:utext转义字符

数组:<h3 th:each ="user:${user}" th:text="{$user}"></h3>

 

thymeleaf

原文:https://www.cnblogs.com/itwxx/p/11980882.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!