So you want an Applet executing in a browser on a users machine to write a file to the Servers Disk? That of course can not happen directly since applications cannot write to disks on remote machines directly. They must cooperate in some way with an application on the remote machine to write the file for them.
So a simple solution is to have a Servlet or JSP resource on the server that will use HTTP POST data to write the file upon request. Then the Applet simply performs a POST request to the server using the standard URLConnection class.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.