![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thymeleaf
逆风GLORY
Stay Hungry, Stay Foolish. – Steve Jobs
展开
-
thymeleaf 需要注意的点
1、[[...]] 在 Thymeleaf 中认为是内联表达式 2、th:inline="text/javascript/css/none" 3、注释 /*<![CDATA[*/ ... /*]]>*/ 1、[[...]] 在 Thymeleaf 中认为是内联表达式 <p>[[${session.user.name}]]!</p> 等同于: <...原创 2018-11-12 23:12:37 · 1100 阅读 · 1 评论 -
thymeleaf 使用详解
目录 thymeleaf介绍 标准表达式语法 变量表达式 选择(星号)表达式 文字国际化表达式 URL表达式 变量表达式和星号表达有什么区别吗? 表达式支持的语法 常用th标签都有那些? 几种常用的使用方法 1、赋值、字符串拼接 2、条件判断 If/Unless 3、for 循环 4、URL 5、内联js 6、内嵌变量 使用thymeleaf布局 thymele...转载 2018-11-12 10:13:38 · 575 阅读 · 1 评论