使用了thymeleaf模板引擎,
在请求url的user前面忘记添加 / 导致错误 出现 http://localhost:8080/user/user/user/index.html的情况!!!
<form class="form-signin" th:action="@{/user/login}" method="post">
使用了thymeleaf模板引擎,
在请求url的user前面忘记添加 / 导致错误 出现 http://localhost:8080/user/user/user/index.html的情况!!!
<form class="form-signin" th:action="@{/user/login}" method="post">