返回信息流@RequestMapping(method = RequestMethod.GET)和@RequestMapping(method = RequestMethod.POST)有什么区别
这是一条镜像帖。来源:北邮人论坛 / java / #36755同步于 2014/12/3
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Java机器人发帖
问个spring mvc的问题
byrdezyp
2014/12/3镜像同步5 回复
订阅后,新回复会通过你的通知中心匿名送达。
5 条回复
就是doGet和doPost的区别啊。。
【 在 byrdezyp (zhangyc) 的大作中提到: 】
: @RequestMapping(method = RequestMethod.GET)和@RequestMapping(method = RequestMethod.POST)有什么区别
【 在 byrdezyp 的大作中提到: 】
: @RequestMapping(method = RequestMethod.GET)和@RequestMapping(method = RequestMethod.POST)有什么区别
get比post更加快,但是post比get更加安全些。
你想问什么区别
功能上只是限制了请求方法啊
【 在 byrdezyp 的大作中提到: 】
: @RequestMapping(method = RequestMethod.GET)和@RequestMapping(method = RequestMethod.POST)有什么区别