"NetworkError: 400 Bad Request - http://172.16.47.117:8088/rhip/**/####t/approval?date=976
2017-08-21 15:40
597 查看
一 问题表现:
1 火狐debug 控制台显示:
POST http://172.16.47.117:8088/rhip/**/####t/approval?date=976 400 Bad Reques
"NetworkError: 400 Bad Request - http://172.16.47.117:8088/rhip/**/####t/approval?date=976
2 但是,后台controller有对应地址;
3 并且,js文件在调用 $("#reportForm").submitFormGetJson({ url : "/**/####t/approval"}
之前,都是正常的;
二 原因:页面 id=“reportForm”的form表单中提交对应的ACTION对应实体时,发现页面前台有字段的类型与实体该字段的类型不对应,无法编译到/idm/report/approval"传入的 实体
所以找不到地址。
(例如:
jsp:<input type="hidden" id="fillDateId" name="fillDate" value="${eport.fillDate}"/> -------String类型
实体: Report.java ---------------Date类型
@Column(name = "FILL_DATE", columnDefinition = "TIMESTAMP|填报日期||", nullable = true)
private Date fillDate;
)
1 火狐debug 控制台显示:
POST http://172.16.47.117:8088/rhip/**/####t/approval?date=976 400 Bad Reques
"NetworkError: 400 Bad Request - http://172.16.47.117:8088/rhip/**/####t/approval?date=976
2 但是,后台controller有对应地址;
3 并且,js文件在调用 $("#reportForm").submitFormGetJson({ url : "/**/####t/approval"}
之前,都是正常的;
二 原因:页面 id=“reportForm”的form表单中提交对应的ACTION对应实体时,发现页面前台有字段的类型与实体该字段的类型不对应,无法编译到/idm/report/approval"传入的 实体
所以找不到地址。
(例如:
jsp:<input type="hidden" id="fillDateId" name="fillDate" value="${eport.fillDate}"/> -------String类型
实体: Report.java ---------------Date类型
@Column(name = "FILL_DATE", columnDefinition = "TIMESTAMP|填报日期||", nullable = true)
private Date fillDate;
)
相关文章推荐
- Spring Mvc 出现"NetworkError: 400 Bad Request "
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Android开发:解决ErrorUnable to tunnel through proxy. Proxy returns HTTP1.1 400 Bad Request
- Spring Mvc 出现"NetworkError: 400 Bad Request "
- IIS "Bad Request - Request Too Long. HTTP Error 400. The size of the request headers is too long."
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Android studio出现 Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法
- HTTP ERROR 400 Bad Request
- Spring Mvc 模式中js报错出现"NetworkError: 400 Bad Request "
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Android Studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法
- Error -26631: HTTP Status-Code=400 (Bad Request) for
- Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法