| Author |
Uploading image to Servlet using Http Connection
|
Alex Parvan
Ranch Hand
Joined: Dec 10, 2009
Posts: 115
|
|
Hi,
What are my options to do that ? I want to send an image from a mobile device (J2ME).
Can i just use request.getInputStream(); to read the bytes ? Or multipart/form-data ?
Thanks,
Alex
|
"Quoting yourself is stupid" - Me
|
 |
Mark E Hansen
Ranch Hand
Joined: Apr 01, 2009
Posts: 639
|
|
|
If you want to do this with a client web application (in a browser), then you should look into the File Upload package from Jakarta Commons: http://commons.apache.org/fileupload/
|
 |
Nazmul Quader
Greenhorn
Joined: Mar 12, 2010
Posts: 1
|
|
|
I think Parvan is talking about J2ME. Not mobile web. Any help ?
|
 |
 |
|
|
subject: Uploading image to Servlet using Http Connection
|
|
|