freemarker模板语法

1.访问map中的key ${key} 2.访问pojo中的属性 Student对象。学号、姓名、年龄 ${key.property}spa 3.取集合中的数据 <#list studentList as student> ${student.id}/${studnet.name} </#list> 4.取循环中的下标 <#list studentList as student> ${studen
相关文章
相关标签/搜索