原文:解决 spring mvc3.1下post json出现HTTP Status 400 The request sent by the client was syntactically incorrect

问题描述: 已声明 RequestMapping value update , method RequestMethod.POST ResponseBody public Map lt String, Result gt updateNavi RequestBody Navigation model 启动日志有: Mapped navi update ,methods POST ,params , ...

2012-06-27 17:54 0 10192 推荐指数:

查看详情

错误400-The request sent by the client was syntactically incorrect

 springMVC中,某个页面提交时报400错误,如下图。 解决方法: 1.在网上找了一,答案是通常遇到这个错误是因为前端jsp页面的控件名称和controller中接收的参数名称不一致。但仔细对比了一遍发现没有问题。很郁闷 ...

Fri Jan 06 23:14:00 CST 2017 1 4756
又见The request sent by the client was syntactically incorrect ()

前几天遇到过这个问题(Ref:http://www.cnblogs.com/xiandedanteng/p/4168609.html),问题在页面的组件name和和注解的@param名匹配不对,这个好解决,一一对好就行了。 但是,这回情况不一样了,我的页面控件是类似 ...

Sun Dec 28 09:04:00 CST 2014 0 18552
SpringMVC报错The request sent by the client was syntactically incorrect ()

springmvc数据绑定出的错 在数据绑定的时候一定要主意Controller方法中的参数名和jsp页面里的参数名字是否一致或者按照绑定的规范来写, 如果不一致,可能回报如下错误: The request sent by the client was syntactically ...

Thu Sep 22 17:52:00 CST 2016 1 3265
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM