FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
This week's book giveaway is in the
Security
forum.
We're giving away four copies of
Securing DevOps
and have Julien Vehent on-line!
See
this thread
for details.
Win a copy of
Securing DevOps
this week in the
Security
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Liutauras Vilda
Bear Bibeault
Devaka Cooray
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Campbell Ritchie
Henry Wong
Saloon Keepers:
Tim Moores
Ron McLeod
salvin francis
Stephan van Hulst
Vijitha Kumara
Bartenders:
Tim Holloway
Carey Brown
Frits Walraven
Forum:
Java Micro Edition
Uploading image to Servlet using Http Connection
Alex Parvan
Ranch Hand
Posts: 115
posted 8 years ago
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
Posts: 650
posted 8 years ago
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
Posts: 1
posted 8 years ago
I think Parvan is talking about J2ME. Not mobile web. Any help ?
It is sorta covered in the
JavaRanch Style Guide
.
Post Reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...