This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Properties file
 
Similar Threads
a mistake for bean
Arabic characters issue in java mail
Including property file in the jar
how to read config file from other mahine using java
Lost properties