Establish the property of the system indicated by the specified key.
1 system.setProperty
<system.setProperty
name='name'
value='value'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | string | Name which will change its value. | |||
Avalue | string | Value which will be applied to the variable that is passed. |
Returns | |
---|---|
Type | Description |
string | The first time which is executed, returns the value before modify it, the second time which is executed, returns the new value of the variable. |
Example
Replace the value which contains the system property java.version by 'ccc'.
Copy
<xsql-script name='system_server_setProperty '> <body> <println> <system.setProperty name='java.version' value='ccc' /> </println> </body> </xsql-script>