天天看点

spring mvc 接收 put参数

web.xml中:

Controller中:

@RequestMapping(value="/{userId}",method = RequestMethod.PUT)

测试的main方法中:

客户端进行http请求时用到的jar

开始做,坚持做,重复做