https://www.thymeleaf.org/
模板引擎
常用的有jsp,freemarker,Thymeleaf
spring boot 默認不支持jsp
思想
Thymeleaf
引入
org.springframework.boot
spring-boot-starter-thymeleaf
版本替換
修改thymeleaf 注意佈局版本對應
thymeleaf 使用與語法
默認規則
引入thymeleaf的名稱空間,不導入也可以,導入有提示
參考語法文檔
https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.pdf