list
<#if network??> <#list network as c> <#if c_index=0> it's first index; </#if> <tr> <td width="50%" height="25"><img src="${contextPath}/images/ico-2.jpg" width="3" height="5"/> <a href="${componentPath}/km-business-network-index-user?id=${c.id?default('')}" title="${c.name?default('')}"> <#if (c.name??)&& (c.name?length gt 22)> ${c.name?substring(0,20)}..</a> <#else > ${c.name?default('')} </#if></a></td> <td width="50%" height="25" align="left"> <a href="${componentPath}/km-business-network-index-user?id=${c.id?default('')}" title="${c.name?default('')}"> <#if (c.wddz??)&& (c.wddz?length gt 22)> ${c.wddz?substring(0,20)}.. <#else > ${c.wddz?default('')} </#if> </a> </td> </tr> </#list> <#else> <tr> <td height="25" colspan="2"> 无</td> </tr> </#if>
split
<#list "11;22;33"?split(";") as x> ${x} </#list>
Paramter
${Parameter.name}等价于request.getParameter("name"),