06 2020 档案

摘要:碎片原理: head.html页面要进行碎片化处理(th:fragment="fragment1" fragment1为index.html页面引用) <div th:fragment="fragment1"> <span style="background: aqua"> this is head 阅读全文

posted @ 2020-06-08 14:35 代我向西贝问好 阅读(266) 评论(0) 推荐(0)

摘要:1.首先导入命名空间(在html标签中) xmlns:th="http://www.thymeleaf.org" 2.基本使用 2.1简单数据 <label th:text="${str}"></label> 2.2对象数据 <label th:text="${Book.bookName}"></l 阅读全文

posted @ 2020-06-08 12:11 代我向西贝问好 阅读(177) 评论(0) 推荐(0)

摘要:第一步:创建springboot项目(重点是为了使用注解) pom.xml中的内容,创建springboot项目的时候只需要选择web即可(也可以不选择) 第二步:创建starter的业务实现类 第三步:创建starter的自动类 第四步:在resource中创建MATE-INF目录,再在MATE- 阅读全文

posted @ 2020-06-05 17:23 代我向西贝问好 阅读(265) 评论(0) 推荐(1)

导航