开发者

How to handle file upload from web service

开发者 https://www.devze.com 2023-04-02 09:14 出处:网络
I\'m developing an Iphone/Android application. I need to create a web service for handling u开发者_JS百科ploading images.

I'm developing an Iphone/Android application. I need to create a web service for handling u开发者_JS百科ploading images.

Mobile devices can send images to my web service.

How can i handle sent files in java?


Easiest way would be to read the image into a byte array on the client side, then send that over the web-service and convert it back into an image on the server side.

0

精彩评论

暂无评论...
验证码 换一张
取 消