wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)" Watch "Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)" New topic
Author

Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)

uj joshi
Greenhorn

Joined: Jun 07, 2013
Posts: 4
Hi all,

I want to bind my Property file (say config.properties) to NameSpace Binding in WAS admin console. Then I need to access the properties in that property file from my java code. How am I supposed to do this. I can make a String entry( location of the Property file) in NameSpace Binding option available in WAS admin console, But I don't know how can I access that property file from my java code. Please help me out with this.

Thanks and regards.
 
Consider Paul's rocket mass heater.
 
subject: Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)
 
Similar Threads
Setting and reading environmental variables in Websp V6.0
how to set the classpath
CXF and JAXB binding for a class/property with special character in its name?
Specify namespaces in mapping file
Websphere portal admin console