freemarker 集合遍历

来源:互联网 发布:oracle for mac 下载 编辑:程序博客网 时间:2024/04/28 14:23

<#list HousePicList as list> .......遍历集合

  ${list.name}

</#list>


<#if list.cn_name?exists> .....如果

  ${list.cn_name}

<#else>

 ........否则

</#if>


0 0
原创粉丝点击