PARAMETERS
The PARAMETERS
element acts as a parent container for parameters
provided on the DVM command line.
Syntax
<PARAMETERS>
[<PARAMETER>...</PARAMETER>][...]
</PARAMETERS>
Child elements
- Zero or more
PARAMETER
elements.
Usage
You use this element to provide parameters for the start of the DVM on the command line.
Usage examples
The following example provides two parameters:
- Hello world!
- Again
<PARAMETERS>
<PARAMETER>Hello world!</PARAMETER>
<PARAMETER>Again</PARAMETER>
</PARAMETERS>
- Parameters passed as URL arguments
-
If the
AllowUrlParameters
attribute in the EXECUTION (under APPLICATION for JGAS) is set toTRUE
, parameters can be passed as arguments in the application URL using key-value pairs in the format "Arg=value
".Important: Keyword "Arg" is case sensitiveIn the key-value pair
Arg=value
, the first letter of "Arg" is upper case and the rest of the letters are lower case. The value is case insensitive.In this example, the "myApp" application is launched with two arguments:http://myWebServer/gas/ua/r/myApp?Arg=val1&Arg=val2
Parameters provided in the URL are positioned after parameters defined in thePARAMETERS
element of the configuration file.Note: TheAllowUrlParameters
attribute is not supported for web services applications.
Parent elements
This element is a child of one of the following elements: