File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java Micro Edition
Uploading image to Servlet using Http Connection
Joined: Dec 10, 2009
Mar 10, 2010 03:09:55
What are my options to do that ? I want to send an
from a mobile device (J2ME).
Can i just use request.getInputStream(); to read the bytes ? Or multipart/form-data ?
"Quoting yourself is stupid" - Me
Mark E Hansen
Joined: Apr 01, 2009
Mar 10, 2010 09:40:50
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:
Joined: Mar 12, 2010
Mar 12, 2010 07:50:49
I think Parvan is talking about J2ME. Not mobile web. Any help ?
I agree. Here's the link:
subject: Uploading image to Servlet using Http Connection
looking for a creative way to get a string from file.xml
How To Write Some Text in a Horizontal Rule?
thumbnail in jsp
problem with load image file
automatic display of the java list on mouseover an image
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015