thymeleaf
hlvy
这个作者很懒,什么都没留下…
展开
-
springboot整合thymeleaf及常用标签的使用方法
请结合springboot学习教程项目github地址 https://github.com/heng1234/spring-boot_one来理解 pom.xml<!-- 引入 thymeleaf 模板依赖 --> <dependency> <groupId>org.springframework.boot</groupId>...翻译 2018-08-28 14:45:35 · 556 阅读 · 0 评论 -
thymeleaf中include和replace的使用与区别及传参
th:include 和 th:replace都是加载代码块内容,但是还是有所不同 th:include:加载模板的内容: 读取加载节点的内容(不含节点名称),替换div内容 th:replace:替换当前标签为模板中的标签,加载的节点会整个替换掉加载他的div 公共部分如下:<!-- th:fragment 定义用于加载的块 --><span th:frag...转载 2018-08-28 14:51:38 · 6476 阅读 · 0 评论 -
springboot+dubbo+thymeleaf模板+bootstrap+mysql数据库+redis缓存数据库 项目例子
做了增删改查及redis缓存 处理了缓存穿透问题 项目直接可运行github地址: https://github.com/heng1234/springboot原创 2018-10-03 21:45:30 · 408 阅读 · 0 评论