freemarker 解析map
程序员文章站
2022-07-14 09:54:50
...
<#if map ?exists>
<#list map?keys as attr>
${attr}: ${map[attr]}
</#list>
</#if>
获取reuqest的参数:
<#list RequestParameters?keys as key>
${RequestParameters[key]}
</#list>