Home Tutorialhelp Allcomments Java Example Java Util Readproperty

 
 

Comments

 
User Comments for the tutorial:

Read the Key-Value of Property File in Java



Advertisement
Comments

Nice tutorial
Thank you to write this tutorial, it saved time when i was looking for how to read key/value from a .properties file. Thanka again! 

Exact path of your property file
you can put your property file under the your workspace. 

where i should save this file
i write above given program but i am not getting where i should put it i tried classpath setting but it's not working it is not getting file path 

doubt
The program is working, but my question is. if i am giving the .property file and .java file, its working but i want to give the .property file in different directory. How to do it. can u plz tell me !! 

Mr
what if I want to put the .properties file in some location in C:/ Please explain how to get the file in that case 

File not found
hi i tried to put the src file and the properties file in teh same package,and ran the program , bt isnpite of giving the correct file name it says file not found plz help  

property file in java
i write above given program but i am not getting where i should put it i tried classpath setting but it's not working it is not getting file path 

Incasesensitive Key
How about if I want to search the key but doesn't need case sensitive comparasion? Thanks. 

Good
Keep going on giving some more example on reading the system properties file and would u please write a program that would read system properties file and create one store some properties in as system properties. i need to know the how to store prop 

Good Tutorial.
Gr8 Tutorial. I had always found this site as one of the best site to explain complex thing in more smart, simple and better ways. Thanks for your effort. 

Regarding this site
this site is fantastic...i came across it while making a project n m doing java coding for the first time...i gt stuck while dealing with property files buh everything here is so nicely expalined with examples...!! 

Related Tutorial and Articles
Java-Tutorials

Lang and Util Base Libraries
Lang and Util Base Libraries The Base libraries provides us the fundamental features and functionality of the Java platform. Lang and Util Packages Lang and Util package provides the fundamental classes and Object of primitive type 

Java-Tutorials

Java Util Package - Utility Package of Java
Java Util Package - Utility Package of Java       Java Utility package is one of the most commonly used packages in the java program. The Utility Package of Java consist 

Java Beginners

util packages in java
util packages in java  write a java program to display present date and after 25days what will be the date?   import java.util.*; import java.text.*; class FindDate{ public static void main(String[] args 

Java-Tutorials

Java Util Examples List
examples that demonstrate the syntax and example code of java util package... Java Util Examples List - Util Tutorials       The util package or java provides many 

Java-Tutorials

Java util package Examples
 

Blog

Sitemap Java Tutorial Section
| Site Map | Business Software Services India Java Tutorial Section... Tutorial | JDK 6 Tutorial | Java UDP Tutorial | Java Threading Tutorial | Java 5 Tutorials | EJB Tutorial | Jboss 3.0 Tutorial  | JPA Tutorial 

Java Beginners

Java Util Zip. Zip files/folders inside a folder, without zipping the original source folder.
Java Util Zip. Zip files/folders inside a folder, without zipping the original source folder.   import java.io.File; import... this code works wonderful, its another example from a different website. The only 

Java Beginners

java util date - Time Zone throwing illegal argument exception
java util date - Time Zone throwing illegal argument exception  Sample Code String timestamp1 = "Wed Mar 02 00:00:54 PST 2011"; Date d = new Date...()); The date object is not getting created for IST time zone. Java 

Blog

Sitemap Core Java Tutorial Section
Map | Business Software Services India Java Tutorial Section Core Java... | JDK 6 Tutorial | Java UDP Tutorial | Java Threading Tutorial | Java 5... example | HashMap class in java | contains method of hashset in java 

Java Beginners

util
 

Advertisements Advertisements
 

 

 

DMCA.com