400 Bad Request The request sent by the client was syntactically incorrect ().
2014-05-12 17:19
525 查看
项目中一直出现400错误,后面搜索下,发现如下内容。
SpringMVC报错信息为The request sent by the client was syntactically incorrect ()
在数据绑定的时候一定要主意Controller方法中的参数名和jsp页面里的参数名字是否一致或者按照绑定的规范来写,如果不一致,可能回报如下错误: The request sent by the client was syntactically incorrect ().
从字面上理解是:客户端发送的请求语法错误。实际就是springmvc无法实现数据绑定。
然后跟踪了下jsp代码,果然有不一致的地方,<input type="text" class="Wdate" id="start_date" name="start_date" value="${data.s_start_date}"
修改也如下内容,就解决了
<input type="text" class="Wdate" id="s_start_date" name="s_start_date" value="${data.s_start_date}"
更多请参考:
SpringMVC---400错误The request sent by the client was syntactically incorrect ()
相关文章推荐
- http 400 Bad Request The request sent by the client was syntactically incorrect
- 转:POST 400 Bad Request The request sent by the client was syntactically incorrect
- HTTP 400: Bad Request The request sent by the client was syntactically incorrect
- POST 400 Bad Request The request sent by the client was syntactically incorrect
- springMVC报出400,The request sent by the client was syntactically incorrect.
- HTTP Status 400 - The request sent by the client was syntactically incorrect.
- 错误400 The request sent by the client was syntactically incorrect ()的解决
- 前端到后端------HTTP Status 400 ( The request sent by the client was syntactically incorrect)
- 错误400-The request sent by the client was syntactically incorrect
- HTTP Status 400 - description The request sent by the client was syntactically incorrect.
- javaweb项目错误400-The request sent by the client was syntactically incorrect.
- SpringMVC 表单提交参数不匹配报错 提交表单报400错:description The request sent by the client was syntactically incorrect.
- http 400错误 描述:The request sent by the client was syntactically incorrect
- SpringMVC---400错误The request sent by the client was syntactically incorrect ()
- The request sent by the client was syntactically incorrect. 400 问题
- 解决 spring mvc3.1下post json出现HTTP Status 400 The request sent by the client was syntactically incorrect
- 服务器,tomcat,网页请求错误400,The request sent by the client was syntactically incorrect的问题
- spring mvc 数据绑定问题 提交表单提示HTTP status 400, The request sent by the client was syntactically incorrect
- velocity http请求400错误HTTP Status 400 The request sent by the client was syntactically incorrect
- HTTP Status 400 - description:The request sent by the client was syntactically incorrect.