Advanced Customization > Info*Engine User’s Guide > Info*Engine Custom Tag Reference > Info*Engine Tags > Supplied Library Tags (JSTL) > set
  
set
The set tag sets a variable in either the tasklet context or request context.
Syntax
<set var="VARIABLE" value="VALUE"/>
Attribute Descriptions
Required attributes: var and value.
var
The variable to set.
This attribute is required.
value
The value to set. The value attribute supports more complex expressions representing mathematical operations on two operands of the same type. The supported operands are [+, -, *, /, %, &, |]. Within a task the ‘&’ operator must be escaped like ‘&amp;’.
This attribute is required and can also be an expression.
* 
Where one operand is a constant and the other a variable, if required and possible the variable is coerced to the data type of the constant. Supported data types for mathematical operations are int and float.
requestScope
Boolean specifying whether the variable should be task or request scope. The default is set to false.
Example
<c:set var="onePlusOne" value="${one+1}"/>