*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
 
subject: Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)
 
Similar Threads
how to set the classpath
Specify namespaces in mapping file
Setting and reading environmental variables in Websp V6.0
Websphere portal admin console
CXF and JAXB binding for a class/property with special character in its name?