Do I have to synchronize read-only access to a text file?
Created Oct 26, 2001
Bozidar Dangubic
Should not matter if the file is only for reading. Make sure that you close the file when you are done using it.
My servlet reads the contents of a text file which I access using a File object.
What issues are involved when this file is read concurrently by several different threads? Do I have to synchronize access to the file, or does it not matter when access is read-only?
Should not matter if the file is only for reading. Make sure that you close the file when you are done using it.