JSTL Set tag is used to create new variable and assign a value to new or existing variable.
JSTL Set Tag Example,
<c:set var="weight" value="10.05"/>
As you can see above, in the set tag, new variable "weight" is created and value is set to 10.05. In the next line, it prints the valued of weight variable using out tag.