In WebLogic, How I can set my own property name and value in the file and read that properties from a my code?

Robert Castaneda

To do this, prepend your property with

and access your property using the System class. For example, if we have a property called "website" then we would add it to our property file as follows:

The code used to access this property would be as follows:

String s = System.getProperty("website");

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact