转 freemarker 基本实践
.
<#elseif?condition2>
<#elseif?condition3>
.
<#else>
<#if
b:switch 形式
<#switch?value>
<#case?refValue1>
?????
?????<#break>
<#case?refValue2>
?????
?????<#break>
<#case?refValueN>
?????
?????<#break>
<#default>
?????
</#switch>
?
转自:http://www.blogjava.net/nod0620/articles/325561.html
?
黑色头发:http://heisetoufa.iteye.com