1、有类
public class Page { 
……
……
private List listDate;……}2、在Action 中:
request.setAttribute("Page", page);
return mapping.findForward("ToList");
3、在页面中 
<logic:notEmpty name="Page">   这里应该怎么写才能正确输出 page.listDate 列表?</logic:notEmpty>

解决方案 »

  1.   

    如果你的应用服务器支持jsp2.0以上版本,可以用el表达式
    <logic:iterate id="item" collection="${person.list}">
    如果不支持就老老实实的一个一个传吧
      

  2.   

    哇靠  被同事嘲笑了  没有el可以这样解决
    循环Page类的listDate属性
    <logic:iterate id="element" name="Page" property="listDate">
      

  3.   

    <logic:iterate id="element" name="Page" property="listDate">
      

  4.   

    循环Page类的listDate属性
    <logic:iterate id="element" name="Page" property="listDate">
      

  5.   

    呵呵,谢谢各位了 ,参考上面的 这种写法正确,<logic:iterate id="article" name="Page" property="listDate" type="com.my.vo.Article">