摘要:
SpringBoot+Thymeleaf参考: https://www.cnblogs.com/kibana/p/10236187.html 1、Controller: 2、index.html: 3、效果: 阅读全文
posted @ 2019-01-07 23:33
发挥哥
阅读(1472)
评论(0)
推荐(0)
摘要:
1、添加起步依赖: 2、添加配置(application.properties): 参考ThymeleafProperties.java类,cache默认为true,其它属性都有默认值,一般不需要修改。 3、写测试controller返回页面并携带数据: 4、在resources/templates 阅读全文
posted @ 2019-01-07 22:57
发挥哥
阅读(737)
评论(0)
推荐(0)