![](https://img-blog.csdnimg.cn/20190927151124774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
ajax
ajax
唯丽是图
这个作者很懒,什么都没留下…
展开
-
org.apache.tomcat.util.http.fileupload.FileUploadException: the request was rejected because no mult
完整错误:Could not parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: the request was rejected because no multipart boundary was found原生ajax上传文件脚本报错:org.apache.tomcat.util.htt原创 2020-12-07 09:56:07 · 10269 阅读 · 1 评论 -
ajax错误总结
用了很久的ajax,虽很方便,但也很坑爹这里总结了几个经常会遇到的错误首先,如果是使用jquery的ajax,先查看是否引入了jq库其次是data属性,向后台传递的数据的类型,一般都是json,后台要用request.getParameter接收的话,data的格式为 "name="+"张三"+"&age="+20 ,使用springmvc时,如果获取不到参数,在指定RequestMa...原创 2018-07-10 10:36:12 · 235 阅读 · 0 评论 -
Can not deserialize instance of java.lang.String out of START_ARRAY token
前台传递json格式错误,例如:前端传递的是数组,但后台使用string接收的,就会报错,解析错误。原创 2019-06-26 19:25:35 · 19468 阅读 · 1 评论