标签:
${}取值
list
<#list persons as person>
${person}
</#list>
map
第一中:
<#list map?keys as key>
${map[key]}
</#list>
第二中:
${map.key}
if.....else和索引:
<#list persons as person>
<#if person_index==2>
$person}
<#else>
${person}
</#if>
</#list>
非空
${person!}