-----------------------
仅供参考!
Map latest = new HashMap()latest.put("url", "products/greenmouse.html")
latest.put("name", "green mouse")
<#list latestProduct?keys as itemKey>
<#if itemKey="url">
url:${latestProduct[itemKey]}
</#if>
<#if itemKey="name">
name:${latestProduct[itemKey]}
</#if>
</#list>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)