1. 使用Springboot进行RESTFUL风格开发时,配置文件application.properties 中将过滤器设置为启用
spring.mvc.hiddenmethod.filter.enabled=true
2. <form method="post">表单下添加 <input type="hidden" name="_method" value="put">
请求中put
1. 使用Springboot进行RESTFUL风格开发时,配置文件application.properties 中将过滤器设置为启用
spring.mvc.hiddenmethod.filter.enabled=true
2. <form method="post">表单下添加 <input type="hidden" name="_method" value="put">
请求中put