Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Properties file

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic