$.ajax json数据到server,报400错误的解决方案
2017-04-21 12:23
429 查看
错误:The request sent by the client was syntactically incorrect ().
原因:可能是提交form表单与Action中期望接收到的不匹配
为bean类添加注解
@JsonIgnoreProperties(ignoreUnknown = true)
问题解决
参考:Spring MVC : The request sent by the client was syntactically incorrect
相关文章推荐
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- jmeter发送json数据,报405、400错误解决方案
- ajaxfileupload以JSON为返回数据类型出现的因符号无法解析的错误的解决方案
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- SpringMVC绑定ajax传递json数据到pojo对象错误(400 Bad Request)
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- ajaxfileupload以JSON为返回数据类型出现的因符号无法解析的错误的解决方案
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
- 关于js处理ajax请求返回json数据时出现页面缓存的解决方案(适用于showdialog)
- 后台使用@RequestBody接收,anglarJs向后台传递Json数据,报415或400错误
- jquery ajax() 404错误,406错误解决方案 遍历json数组 append到指定位置 ajax实现点击加载更多按钮
- ajax加载不了json数据的集中错误
- 使用独立模式安装Sharepoint Server 2013出现创建示例数据错误的解决方案
- var dataObj=eval("("+data+")");//转换为json对象(解决在ajax返回json格式数据的时候明明正确的获取了返回值但是却就是进不去success方法的问题。格式错误)
- Ajax向后台传json格式的数据出现415错误的原因分析及解决方法