I simply have a servlet which does something like this
int contentlength = request.getcontentlength();
byte b = byte[b.contentlength]
request.read(b,0,b.contentlength);
I have a client applet which is making a request which writes a bytearray which is 1-8KB, this byte array is the PNG image data. I have tried using the JDK's HttpURLConnection as well as the Apache httpclient library.
[Message sent by forum member 'benju' (benju)]
http://forums.java.net/jive/thread.jspa?messageID=241556