I converted a local application to a Java applet for data security1 but I cannot figure out how to output information to a file. I am inputting files by a URL object but do not know how to output data to a file on the server.
- secure in that the person running the program in supervised conditions cannot keep it and run it for someone else (it is a survey I am piloting).
Is there an easy way to do this?
Applets run on the client, not on the server, so an applet can't do this, period. What it can do is send data to a service of some kind on your server, which can then turn around and write the data to a file.