I have a BufferedImage created using J2D in an applet. I want to upload this BufferedImage using HTTP Post @ http://localhost:3001/upload/file.
EDIT: I have a ROR server handling the serverside of things, I am looking for the Java code for the client.
All the examples I can find involve uploading Files.
Anybody know how to upload a BufferedImage?
Cheers,
slotishtype
OK, So here is the code that creates the bufferedimage, encodes it as a Base64 string and then using the apache commons library posts the string over http to a ROR Server.
The ROR server simply takes the string, decodes it and saves it to the harddrive....
end
Thanks for the help guys,
slotishtype