writing to text file problem
Ok I got a client server setup, where the client connects and has to specify if they are a new client or returning client when logging in. If new they enter a username and password which is writen to a txt file after it is checked for duplication. This is where my problem occurs I have a FileWriter the appends the new account info to the end of the text file but it won't write it until the server is stopped.
My question is, Is there a way to update the txt file while keeping the server running.