springmvc ajax json輸不出來
HTTP Status 406 - type Status report message description The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers. Apache Tomcat/8.0.36 老師,這個怎么解?
2017-06-29
遇到一樣的問題,求幫忙解答
2016-08-20
Operate 忘了getter/setter方法
2016-08-20
這是controller代碼
@RequestMapping(value?=?"/{a}/pu", ????????method?=?RequestMethod.GET, ????????produces?=?{"application/json;charset=UTF-8"}) @ResponseBody public?Operate?pu(@PathVariable("a")?String?a){ ????Operate?operate?=?new?Operate(true,a,0001); ????return?operate; }