I think you're either going to have to do it in a CGI fashion using an http connection and submit the info to a
servlet or similar or (better yet) have the applet open a socket connection to an app on the server that will have permissions to write out the file on the client applet's behalf. Otherwise, I think it is pretty much impossible to create a scenario where you can give a remote applet the permission to write to the host server.
Sean