We use the core elements from Jelly in the c
name space. The xml elements from Jelly in the x
name space.
<para>
<c:set var='a' value='7'/>
The value of variable a is: ${a}
</para>
Some Jelly statements have been inserted inside the para tag. These statements
demonstrate the use of a variable. In the
<c:set/> tag, the value of the variable
a is set to 7.
The code evaluates to
The value of variable a is: 7
The ${a} statement indicates how the value of
a can be called.