HTTP Post from applet to Mendix

I have an applet which process an image, after that the user can click (Save) to upload this image to Mendix server. I could create a widget in order to load the applet, also I created a handler from java action in order to receive and serve the Http Post request. My Question, how I can post the image? Does the Mandix handler support HTTP post method, if yes; kindly show me a snippet code to do that. Note: I don't want to use Mendix Web service, the applet size will be huge because the applet will contain all the web service client libraries to do the same.
1 answers

This question seem not be really related to mendix anymore, since you wrote both your own java applet and and request handler, so i think you can follow the general solution posted at stackoverflow for example.