FreeMarker example


The following codes are instructions and interpolations commonly used by FreeMarker:

##<table>
<#list userList as user>
<tr>
<td>${user.name}</td>
<td>${user.age}</td>
<td>${user.email}</ td>
</tr>
</#list>
</table>
The above code will loop out the user objects in userList.