weixin_42356238
2010-01-21 09:57freemarker嵌套循环怎么写
下面是JSP页面代码
/c:forEach
/c:forEach
这是我根据以上写的ftl(freemarker 标签写的)
<#if typeProList?exists>
<#list typeProList[0..0] as each>
<#list each.proList[0..1] as product>
</#list>
</#list>
</#if>
但是报错:list each.proList[0..1] as product [on line 24, column 37 in probottom.ftl]
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- freemarker嵌套循环怎么写
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答
- 请问一下,Freemarker有没有这种嵌套取值的做法的?
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答