Are you familiar with the classes in the java.io package? They can be used to read and write files. You could also use java.util.Properties class if you can arrange to have those values stored in a Hashtable.
manoj kumar jena
Joined: Sep 24, 2007
kindly give me some hint.how to approach it by using java.util.proporties? would be better if i get any link to these kind of tutorials.
Joined: Mar 22, 2005
There isn't much to it. Create a Properties object, call the put method to add name/value pairs, and then call store or storeToXML to save it all to an OutputStream. For the output stream you can use a FileOutputStream for the file in which you want to store the data. [ October 05, 2008: Message edited by: Ulf Dittmer ]