错误The request sent by the client was syntactically incorrect的解决
来源:互联网 发布:windows多线程面试 编辑:程序博客网 时间:2024/05/17 05:55
错误The request sent by the client was syntactically incorrect的解决
时间:2015-07-20 12:44:14 阅读:407 评论:0 收藏:0 [点我收藏+]
标签:log com http src 问题 sp 方法 ca as
问题:错误400-The request sent by the client was syntactically incorrect.
springMVC中,某个页面提交时报400错误,如下图。
解决方法:
1.在网上找了一下,答案是通常遇到这个错误是因为前端jsp页面的控件名称和controller中接收的参数名称不一致。但仔细对比了一遍发现没有问题。很郁闷。
2.然后就反复的提交那个页面进行测试,发现了问题,因为我是将多个参数作为一个实体传至controller,发现某个文本框为空时,提交就会报错,于是去实体中查看该文本框对应的参数属性,发现与其他参数不同,定义的为int类型。于是就懂了。
简单的说:传递的参数类型为int,而提交时该参数为空,也会报上述错误。知道了是这原因就很好解决了。
0 0
- spring MVC 错误The request sent by the client was syntactically incorrect ()的解决
- 错误The request sent by the client was syntactically incorrect的解决
- 错误:The request sent by the client was syntactically incorrect的解决
- 错误The request sent by the client was syntactically incorrect ()的解决
- Spring MVC 错误The request sent by the client was syntactically incorrect ()的解决
- 错误The request sent by the client was syntactically incorrect ()的解决
- 错误The request sent by the client was syntactically incorrect ()的解决
- 错误:The request sent by the client was syntactically incorrect的解决
- spring mvc错误:The request sent by the client was syntactically incorrect的解决
- 错误400 The request sent by the client was syntactically incorrect ()的解决
- The request sent by the client was syntactically incorrect解决
- The request sent by the client was syntactically incorrect.
- The request sent by the client was syntactically incorrect.
- The request sent by the client was syntactically incorrect问题解决
- The request sent by the client was syntactically incorrect
- The request sent by the client was syntactically incorrect ()问题
- The request sent by the client was syntactically incorrect.
- The request sent by the client was syntactically incorrect
- android framework中添加自定义的permission
- css3实现下拉选择框特效
- Mesos&PaaS系列文章之三——Slave节点安装
- 九度OJ 1186:打印日期 (日期计算)
- getDimension(),getDimensionPixelOffset()和getDimensionPixelSize()区别(转载)
- 错误The request sent by the client was syntactically incorrect的解决
- sdwebimage清除缓存
- 苹果公司企业证书
- VeraCrypt的只读问题
- Android 轻松实现后台搭建+APP版本更新
- 8.3.1 How MySQL Uses Indexes MySQL 如何使用索引
- RSA算法原理
- android线程 handler原理
- 九度OJ 1187:最小年龄的3个职工 (排序)