2018年11月5日
摘要: thymeleaf使用详解 阅读全文
posted @ 2018-11-05 18:31 Ruthless 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 前言Springboot默认是不支持JSP的,默认使用thymeleaf模板引擎。所以这里介绍一下Springboot使用Thymeleaf的实例以及遇到的问题。 配置与使用1.在application.properties文件中增加Thymeleaf模板的配置。#关闭thymeleaf的缓存,不然 阅读全文
posted @ 2018-11-05 16:36 Ruthless 阅读(31799) 评论(3) 推荐(1) 编辑