posted 20 years ago
hi guys:
Properties.load, and properties.write doesn't take care of this problem for me. I am haveing this proplem becuase, every time I want to wirte a key value pair the the properties file, I have to load the file first, add the key value pair, then rewrite the whole thing to the file.
I tried to just write the new key value pair wiout reloading file, it overrite the file, and it earase everthing there, and leave it with only the new key value pair.
I can't ust relative path all the time. I use it only if the server database file is in the application directory(defualt), but if the application admin chooses to set the server database to anyother file, then it cannot be a relative path.
I hope I made it clearer
SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle