Bagbyte
Bagbyte

Reputation: 863

How to handle file upload from web service

I'm developing an Iphone/Android application. I need to create a web service for handling uploading images.

Mobile devices can send images to my web service.

How can i handle sent files in java?

Upvotes: 1

Views: 667

Answers (1)

James Goodwin
James Goodwin

Reputation: 7406

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.

Upvotes: 3

Related Questions