摘要:
//引入命名空间 xmlns:th="http://www.thymeleaf.org" //用th:<prop>替换<prop>属性的值 <h4 th:text="${hello}" ></h4> 1 Fragment inclusion th:insert th:replace 2 Fragme 阅读全文
posted @ 2020-07-25 11:41
阿布都日
阅读(206)
评论(0)
推荐(0)
摘要:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 阅读全文
posted @ 2020-07-25 11:02
阿布都日
阅读(93)
评论(0)
推荐(0)
摘要:
1. JSP 2. Velocity 3. Freemarker 4. Thymeleaf 阅读全文
posted @ 2020-07-25 10:20
阿布都日
阅读(69)
评论(0)
推荐(0)
摘要:
<dependency> <groupId>org.webjars</groupId> <artifactId>jquery</artifactId> <version>3.5.1</version> </dependency> 阅读全文
posted @ 2020-07-25 10:03
阿布都日
阅读(58)
评论(0)
推荐(0)
摘要:
springboot的静态资源加载是通过WebMvcAutoConfiguration类实现的,下面的方法是加载资源配置的方法: 阅读全文
posted @ 2020-07-25 09:55
阿布都日
阅读(142)
评论(0)
推荐(0)