freemarker用request取值完之后怎么遍历
@超级大富 你好,想跟你请教个问题:我在jfinal后端写是这样的String app=getPara("APP");
String sql="select * from T_KEYPOOL where 1=1 ";
// List<T_KEYPOOL> result= T_KEYPOOL.dao.find("select * from T_KEYPOOL where APP like '%?%'");
List<Object> result=new ArrayList<Object>();
if(!StringUtils.isEmpty(app)){
sql+=" and APP like ? ";
result.add("%"+app+"%");
}
setAttr("result",result);
render("/mylookup.html");
请问在前端获取到input框的值之后 该怎么遍历result好做出相应的展示呢
<#list result as r>
${r.xxx}
</#list>