报405
Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘PUT’ not supported]
1.在配置文件中添加(默认是关闭的)
spring.mvc.hiddenmethod.filter.enabled=true
2.th:href改为th:action---------href(post请求方式)
<form th:href="@{/emp}" method="post">
<input th