Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.LoadProperty
Loads a property file or set of property files.
Syntax
public boolean LoadProperty(String name)Parameters
name
- Name of the property files to load. This is a semicolon-separated list of property files, all in the same folder.
Description
The
LoadProperty
method loads a property file or set of property files. The values loaded from the property files are valid only during the processing of the page containingLoadProperty
.Use this method to access a table in a different database, or to load string properties. For example, use it to load a property file to find application-specific values for the local system configuration.
To load property files, those files must be located in the same folder as the Sites property file. The values loaded from the property file are valid only during the processing of the page containing
LoadProperty
.If
LoadProperty
fails, the current property set remains intact.Returns
Returns
true
on success,false
on failure.Example
If a new property file (other than "futuretense.ini"), say "newfile.ini", is to be loaded then it is necessary to also specify "futuretense.ini" along with it, separated using semicolon. Here is how it is to be specified:
success = ics.LoadProperty("futuretense.ini;newfile.ini");
See Also
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.