hibernate+struts 数据显示JSP中的问题.
在action中用hibernate中查出的是
....
DynaActionForm df = (DynaActionForm) form;
User us=new User();
user.setName((String) df.get("name"));
user.setAddress((String) df.get("address"));
List list=session.createQuery("select h from User as h").list();;
request.setAttribute("list", list);
--
在JSP用stusts 标签如何查询到的数据;
<logic:iterate id="list" name="loginForm" property="list">
<TR><td><bean:write name="list" property="id" /></td>
<td><bean:write name="list" property="name" /></td>
</TR>
</logic:iterate>
提示错误:javax.servlet.ServletException: Cannot find bean loginForm in any scope
//loginForm是在strut-config.xml中配置的动态form.
help me!