I have a Java applet that reads info from a .txt file. I also have a simple form that allows a user to write info to the .txt file. I want to overwrite the existing info in the .txt file instead of appending to it. Is there a way to do this?
If not does anyone know a simple way I can have the client delete the file before submitting the new file? I don't want the client to have access to the server but need to allow them to update this via a browser. Any suggestions?