1.thymeleaf路径
查看源码可以得到thymeleaf使用htm文件并且存放在resource下的templates文件夹下
使用时在html上方引用thymeleaf的命名空间
xmlns:th="http//www.thymeleaf.org"
2.示例
controller
html
3.thymeleaf语法
springboot之thymeleaf
原文:https://www.cnblogs.com/ywy1/p/15112799.html