GAS Configuration Reference / Configuration file elements |
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, /ua/r/myapp?Arg=val1&Arg=Val2 provides two parameters. To enable URL parameters for Web applications, set the AllowUrlParameters attribute in the EXECUTION (for an application) 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.
<PARAMETERS> [ <PARAMETER> parameterValue </PARAMETER> [...] ] </PARAMETERS>
<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.