PARAMETERS

The PARAMETERS element acts as a parent container for parameters provided on the DVM command line.

Syntax

<PARAMETERS> 
   [<PARAMETER>...</PARAMETER>][...]
</PARAMETERS>

Child elements

Usage

You use this element to provide parameters for the start of the DVM on the command line. 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) element is set to TRUE, parameters can be passed as arguments in the application URL using key-value pairs in the format "arg=value".

In this example, the "myApp" application is launched by the "myWebServer" web server after passing in two parameter values, "val1" and "val2":
http://myWebServer/gas/ua/r/myApp?arg=val1&arg=val2

Parameters provided in the URL are positioned after parameters defined in the PARAMETERS element of the configuration file.

The AllowUrlParameters attribute is not supported for web services applications.

Parent elements

This element is a child of one of the following elements: