Spring 3.2.* MVC通过Ajax获取JSON数据报406错误
摘要:
问题描述:通过@ResponseBody标签返回JSON数据的方法都报406错,具体为The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers () 百度以后,这位仁兄给了我灵感,http://digdata.me/archives/96/ 原因是spring将放在responseBody的数据头写成[text/html 阅读全文
posted @ 2013-11-06 16:16
云涛梦笔
阅读(520)
评论(0)
推荐(0)
浙公网安备 33010602011771号