This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Properties " Watch "Properties " New topic
Author

Properties

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1383
I set the hai.properties file in the classpath.
how can i access thru System.getProperties() ?
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489


I set the hai.properties file in the classpath.
how can i access thru System.getProperties() ?


Dont think you can. You will have to get a Properties object represeting
your property file. Use the method of ClassLoader class.



ram.
Saravanan Jothimani
Greenhorn

Joined: Feb 25, 2005
Posts: 26
what are all information can be stored in properties files
 
wood burning stoves
 
subject: Properties