java - Android 客户端上传到服务关出错?
PHP中文网
PHP中文网 2017-04-18 10:26:03
0
1
314

我在网上找了个 Java Servlet写的个小服务,用来接收客户端上传的图片,可是总是提示
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null
我手机端提示上传成功 走了成功的回调方法 就是服务端总提示这个错误。!

搞不懂了。麻烦大师给看看! 我手机端上传图片用的是AsyncHttpClient
这个服务端的demo我用的是 此人的:http://liucanwen.iteye.com/bl...

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
伊谢尔伦

Use multimedia to upload. This is in the form of a binary file. Upload accepted

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!