thymeleaf 拆分html页面 引用html文件 th replace th:fragment
thymeleaf 拆分html页面 引用html文件 th replace th:fragmentfile1.html 引用 file2.html中的代码块 如下:file1.html<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"><body> <div id="aaa" th:replace