By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,006 Members | 544 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,006 IT Pros & Developers. It's quick & easy.

how to send image via http post in java

P: 36
hi experts,

i need ur help.

i want to send a image via http post along with the form data i.e image name etc

to a specified url .. which is the url of a jsp servelt.

NOTE:- I am sending image from a JFRAME which is opened separately along with the applet.

i do some coding which i have attached below.
but this give an error like..
="ISO-8859-1"?>
<response>
<error>null
Error, your browser has not sent any information.
Please try again or try it using another browser
</error></response>


pls help me out .. how to do this..?
Attached Files
File Type: txt problem.txt (1.8 KB, 505 views)
Jun 9 '09 #1
Share this Question
Share on Google+
2 Replies

100+
P: 270
post the code you have done...
Jun 11 '09 #2

100+
P: 270
you should use apache ecommons fileupload api to upload image files to web server

http://commons.apache.org/fileupload/
Jun 14 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.