【SpringMVC学习】 405 error Request method 'PUT' not supported

<form:form action="${pageContext.request.contextPath }/emp" method="POST" modelAttribute="employee">

action内的 emp前 加入 ${pageContext.request.contextPath }即可

发布了44 篇原创文章 · 获赞 7 · 访问量 872

猜你喜欢

转载自blog.csdn.net/ange2000561/article/details/104219851