HI All
I am trying to save system properties in a file as following:
FileOutputStream f0= new FileOutputStream("xyz.txt");
Properties p1= new Properties(System.getProperties());
try{
p1.store(f0,"properties list");
f0.close();
}
I have created a file "xyz.txt" which is made to store system properties.I
have also created few properties using "setProperty()".But the system
properties are not getting stored in the file ,the properties which were
entered using set property were getting stored in the file.
Now how to store system property in a file???
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---