I've never tried with an image but I have, in the past, sent serialized
Java objects to the server from an applet via HTTP posts by setting the content type to: "application/x-java-serialized-object".
Since java.io.File implements java.io.Serializable, I would think you could send an image (or any file) that way.
Ola,
The first link I posted only covers sending serialized objects from a servlet to an applet. This one has examples of sending serialized objects in both directions.
http://www-128.ibm.com/developerworks/java/library/j-tunnel/?dwzone=java [ November 22, 2005: Message edited by: Ben Souther ]