Re: Using POST to send bitmap image with Java



Arne Vajhøj wrote:
Dave Miller wrote:
DataOutputStream out =
new DataOutputStream(connection.getOutputStream());
// use one of write methods of out

If the only type send is byte/byte[] then wrapping
in DataOutputStream should not be necesarry.

Arne
Good point - the code was copy and paste from a bit that needed the additional write methods of DataOS.

--
Dave Miller
Java Web Hosting at:
http://www.cheap-jsp-hosting.com/
.