![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thymeleaf
Adore_an
做正确的事情就不会出错
展开
-
springboot集成themeleaf问题
Deprecated configuration property 'spring.thymeleaf.content-type' spring.thymeleaf.content-type=text/html已过时, 改成: spring.thymeleaf.servlet.content-type=text/html springboot集成themeleaf报Namesp...原创 2019-03-06 15:26:23 · 544 阅读 · 0 评论 -
springboot+jpa+thymeleaf 按条件分页
1.添加依赖,pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h...原创 2019-04-12 22:18:18 · 1549 阅读 · 0 评论 -
springboot + thymeleaf连接表达式,多参数
单参数 <a href="xx.html" th:href="@{/user/details(id=${user.id})}" th:text="${user.name}"></a> 结果:<a target="_blank" href="/user/order/details?id=1">userName</a> 多参数,用,隔开 &...原创 2019-04-20 22:41:30 · 1043 阅读 · 1 评论