spring mvc @RequestMapping method 不写的话,默认GET、POST都支持

@RequestMapping(value="/")

 method 不写的话,默认GET、POST都支持,根据前端方式自动适应

猜你喜欢

转载自bugyun.iteye.com/blog/2366965
今日推荐