Click here to Skip to main content
14,733,333 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to write a program that needs to store information such as the Database Connection String and web Application in a Config.INI file. Now I know there are special methods to access .INI files (sections and so forth) instead of treating it as normal text file. how ?
Posted
Comments
Herman<T>.Instance 13-Mar-12 5:42am
   
have you read this?
deemuu 13-Mar-12 5:51am
   
yes

What you are looking for is called a property file[^] in Java lingo. All you have to do is google for "Java property file" and you'll find lots of samples. You might want to start here though first: http://www.mkyong.com/java/java-properties-file-examples/[^].

Regards,

Manfred
   
See this tutorial[^].
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900