Hi
I am writing a simple java program in which i am facing some difficulty while writing the text in the file.
Aim of the program is to add some debug message in the empty catch block.
I am able to add the message but the text in the file are overwriting. I used RandomAccessFile and when i find the position i used writeBytes. But it overwrites the text in files (below the catch block..3-4 lines).
Can someone suggest how can i add text without overwriting using RandomAccessFile .
Thanks & Regards
Ronak