File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Properties file" Watch "Properties file" New topic

Properties file

Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
I have properties file that i have to set with new value.
But after i set with new value, the size of that properties size is 0kb...
This is the codes:

Can you help me?
thanks for your attention
(edited by Cindy to format code using [ code] [ /code] tags - without the spaces).
[ August 14, 2002: Message edited by: Cindy Glass ]
john guthrie
Ranch Hand

Joined: Aug 05, 2002
Posts: 124
i'm guessing something strange in your environment since i just ran your code successfully on my machine here (win2k). i started with containing:
a = a
b = b
and ended up with:
#Wed Aug 14 08:03:38 EDT 2002
I agree. Here's the link:
subject: Properties file
It's not a secret anymore!