Is it Supported to Use the props.load Java Command to Load the Properties Files For a WebCenter Portal Application (Doc ID 1622918.1)

Last updated on FEBRUARY 12, 2014

Applies to:

Oracle WebCenter Portal - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Goal

This is custom WebCenter Portal Framework application.
The application needs to use properties which are stored in a properties file : <myfile>.properties stored in the "<domain>/<application folder>" directory.
These properties are updated frequently.
To ensure the current properties are referenced when the application is run, we wish to use this type of code in the application to upload the properties file:

 iStream =new FileInputStream("./<application folder>/<myfile>.properties");
  props.load(iStream);


Is this supported for a WebCenter Portal framework application?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms