叶子的博客   Java/Ruby/PHP/JS

遇到问题时冷静对待,这或许不能解决问题
但能使你收获更多

让SpringMVC接收PUT方法

暂时只支持 application/x-www-form-urlencoded

spring加入bean

@Bean
public Filter initializeHttpPutHandler(){
	return new HttpPutFormContentFilter();
}

即可使springmvc程序接收put的form表单请求。暂时只支持application/x-www-form-urlencoded 后续会开发form-data的方式