PARAMETERS

The PARAMETERS element specifies the parameters to provide on the DVM command line. Each parameter is contained in its own PARAMETER element.

If allowed, parameters can also be set in the application URL. For example, /wa/r/myapp?Arg=val1&Arg=Val2 provides two parameters. To enable URL parameters for Web applications, set the AllowUrlParameters attribute in the EXECUTION tag to TRUE. The default is FALSE. If the DVM already has parameters set by the command line, the parameters in the URL are added to the end of the command line.

Important: This attribute is not supported and should be removed for Web services applications.

Syntax

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

Child elements

Usage examples

The following example provides two parameters:
  • Hello world!
  • Again
<PARAMETERS> 
  <PARAMETER>Hello world!</PARAMETER>
  <PARAMETER>Again</PARAMETER>
</PARAMETERS>

If URL parameters are allowed, these parameters are listed after the ones defined in the PARAMETERS element of the configuration file.