Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Properties  RSS feed

 
kri shan
Ranch Hand
Posts: 1487
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I set the hai.properties file in the classpath.
how can i access thru System.getProperties() ?
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are all information can be stored in properties files
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!