How do I upload a file from an applet to a servlet, i.e. emulate the browser's 'multipart/form' ability to upload files?

John Zukowski

The HTTPClient offering makes this possible from its mpFormDataEncode method. Keep in mind the security restrictions of an applet accessing the local client's file system. Basically, untrusted applets can't.