Forums Register Login

problem in file creation

+Pie Number of slices to send: Send
I am a java beginner... I am doing a small standalone application.. In which i am using files..
In my code i want to get customer details and to store it in a file..i am using following code for doing that...



But while using this code..for each execution one file is created and details getting added and in next execution the old file is deleted along with the details....but i need one file is to be created and only details to be added in each execution...help me please....
+Pie Number of slices to send: Send
Look at the various constructors available for java.io.FileOutputStream. You'll find what you want.
+Pie Number of slices to send: Send
THANK YOU JOE.................

I GOT IT.....................
this llama doesn't want your drama, he just wants this tiny ad for his mama
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 552 times.
Similar Threads
Write a program in notepad
How to append an object using FileOutputStream
How to make each log entry start on a new line?
Read-only files
Problem : Writting Data Into File Using Channel
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:41:25.