This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Properties file" Watch "Properties file" New topic
Author

Properties file

Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
Dear,
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
daniel
(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 schedule.properties containing:
a = a
b = b
and ended up with:
#
#Wed Aug 14 08:03:38 EDT 2002
b=b
a=a
ThreadUserCancel=123
 
Don't get me started about those stupid light bulbs.
 
subject: Properties file
 
Similar Threads
Lost properties
Including property file in the jar
how to read config file from other mahine using java
Arabic characters issue in java mail
a mistake for bean