摘要:
//引入命名空间 xmlns:th="http://www.thymeleaf.org" //用th:<prop>替换<prop>属性的值 <h4 th:text="${hello}" ></h4> 1 Fragment inclusion th:insert th:replace 2 Fragme 阅读全文
摘要:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 阅读全文
摘要:
1. JSP 2. Velocity 3. Freemarker 4. Thymeleaf 阅读全文
摘要:
<dependency> <groupId>org.webjars</groupId> <artifactId>jquery</artifactId> <version>3.5.1</version> </dependency> 阅读全文
摘要:
springboot的静态资源加载是通过WebMvcAutoConfiguration类实现的,下面的方法是加载资源配置的方法: 阅读全文