Let us briefly review the syntax of the Velocity Template Language (VTL).
Here is a VTL statement:
#set ($me = "Velocity")
A VTL statement begins with a
# sign. The word
set is a directive. In VTL, a reference begins with a
$ character. So
$me is a reference, a variable reference in this case. The
$me variable is assigned the value of
Velocity. Velocity is a string. In VTL a string can be enclosed in single or double quotes. A string in single quotes will be interpreted literally while a string in double quotes can contain variables that will be substituted with their values when the template is merged.
There is another way of using references:
Here we use a reference to ...