Originally posted by Thomas Paul:
Just to throw in some additional info: you can do this with nothing more than an HTML form using multi-part on the client side. No applet is needed. Information about this including sample classes can be found in the O'Reilly book, Java Servlets.
...it's important to note that file uploading is experimental and not supported in all browsers.
This memo defines an Experimental Protocol for the Internet community. This memo does not specify an Internet standard of any kind. Discussion and suggestions for improvement are requested.
Is it so? Or we MUST get the urc.getInputStream() whenever we write something to server, in order to make the code work? This is the question still hangs in mind unanswered.