red phoenix wrote:
<table>
<c:forEach var="test" items="${testList}">
<tr><td>
<c:out value="${test.col1}"></c:out>
<c:out value="${test.col2}"></c:out>
</td></tr>
</c:forEach>
</table>
then I modify struts action,like following:
List testList=this.getHibernateTemplate().find(" select col1,col2 from
mytable");
request.setAttribute("testList",testList);
return SUCCESS;
the action dispatch to the same jsp,but this time,the jsp show nothing!
Why? I don't understand what's wrong with my code? Anyone could help me to
solve above problem?
This seems like a Hibernate question, no?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org