关键字: Iterator(迭代器)
<%
List obj = (List)request.getAttribute("redate");
//System.out.println("obj.size()======================="+obj.size());
Iterator it = obj.iterator();
//System.out.println("it================"+it);
while(it.hasNext()){
Object obje = it.next();
//System.out.println(obje);
TB_REBBSBUSINESS tb_rebbs = (TB_REBBSBUSINESS)obje;
//System.out.println("tb_rebbs==========="+tb_rebbs);
//System.out.println(tb_rebbs.getRETITLE());
%>
List obj = (List)request.getAttribute("redate");
//System.out.println("obj.size()======================="+obj.size());
Iterator it = obj.iterator();
//System.out.println("it================"+it);
while(it.hasNext()){
Object obje = it.next();
//System.out.println(obje);
TB_REBBSBUSINESS tb_rebbs = (TB_REBBSBUSINESS)obje;
//System.out.println("tb_rebbs==========="+tb_rebbs);
//System.out.println(tb_rebbs.getRETITLE());
%>
<%=tb_rebbs.getRECONTENT()%>
<%
}
%>
}
%>