$.ajax json資料到server,報400錯誤的解決方案
阿新 • • 發佈:2019-02-08
錯誤:The request sent by the client was syntactically incorrect ().
原因:可能是提交form表單與Action中期望接收到的不匹配
為bean類添加註解
@JsonIgnoreProperties(ignoreUnknown =true)
問題解決
錯誤:The request sent by the client was syntactically incorrect ().
原因:可能是提交form表單與Action中期望接收到的不匹配
為bean類添加註解
@JsonIgnoreProperties(ignoreUnknown =true)
問題解決