1.thymeleaf 模板,既然叫模板,那么我们使用的html也应该重新定义好。
标准的common.html
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title th:replace="${title}">ZSET common template of html</title>
<!-- Common styles and scripts -->
<link rel="shortcut icon" href="/springboot/favicon.ico" th:href="@{/favicon.ico}"/>
<link rel="bookmark" href="/springboot/favicon.ico" th:href="@{/favicon.ico}"/>
<!-- Bootstrap -->
<link rel="stylesheet" th:href="@{/css/bootstrap/bootstrap.min.css}" />
<script type="text/javascript" th:src="@{/js/jquery/jquery-3.3.1.min.js}"></script>
<script type=