日期:2014-05-20  浏览次数:20690 次

hibernate两个表关联查询的返回结果集处理问题
例如 HQL="from user a,group b where a.groupid=b.groupid";

jsp页面可以这样取值
<logic:iterate id="alist" name="listresult" scope="session" >
用户COde:${alist[0].id}
用户名:${alist[0].name}
用户群组:${alist[1].xxxx}
</logic:iterate>

请问下如果使用
<bean:write name="alist" property="name"/>
改怎么取值



------解决方案--------------------
<bean:write name="alist" property="name"/>
 这个不是你们公司自己的Tag么?