Thanks Dirk!
What I don't understand is this. So I have this static method. It saves a
string of data to the filesystem. It creates a FileWriter, then it saves it, then it closes it.
So if it's Static, that means there's only ever 1 copy of this code in memory to serve all requests. In my servlets, I call this method at the end, to save my file that I work on in the servlet.
My question is this, with multiple users calling this method, and different servlets running it possibly at the same time, what's to stop data from mixing? If there's only one version of it running, is it a bottleneck?