Loads a property file.
- Name of the property file(s) to load. Load multiple files by separating them with a semicolon, for example:
If multiple property files are loaded with the same property in them, the last property that is loaded takes precedence.
LOADPROPERTYtag loads a property file. This tag can load multiple property files using a semicolon to separate the files. The values loaded from the property file are valid only during the processing of the page containing
LOADPROPERTY. Use this command to access a table in a different database, or to load string properties. For example, you might load a property file to find application-specific values for the local system configuration. The property file must be located in the same folder as the Sites property file (
Loading a property that does not contain the string
futurtense.iniin the property file disables Sites security by setting the
false. Sites security remains disabled until the
RESTOREPROPERTYXML tag is called.
The possible values of
Value Description -106 Required property is missing. -300 File not found. -303 Path not found.
If one of these errors occurs, the values from the previously loaded property file (probably the default) are still in effect. There should be no need to use the
This example loads a new property file to access a table in a different database. The property file must contain all the information required to connect to the new database (For example, dsn, user name/password set, and so on. ).
SETVARNAME="errno" VALUE="0"/> <LOADPROPERTY FILE="other.ini"/> <
SELECTTOLIST="numbers" WHAT="*" FROM="NumberData"/> after select errno is: <
other.iniproperty file must define at least the following properties:
Home > Contents > Index >
Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.