Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

10.2 FreeMarker example


May 14, 2021 JFinal manual



The following code is freeMarker's frequently used instructions and interpolation:

<table>
<#list userList as user>
<tr>
<td>${user.name}</td>
<td>${user.age}</td>
<td>${user.email}</td>
</tr>
</#list>
</table>

The above code loops out the user objects in userList.