用jsp的脚本段
<%
List listMainBoard = (List)mapBoard.get(new Integer(0));
for(int i=0; i<listMainBoard.size(); i++){
Board mainBoard = (Board)listMainBoard.get(i);
}
mapBoard为map对象
来源
req.setAttribute("mapBoard" , map);
%>
用jsp的脚本段
<%
List listMainBoard = (List)mapBoard.get(new Integer(0));
for(int i=0; i<listMainBoard.size(); i++){
Board mainBoard = (Board)listMainBoard.get(i);
}
mapBoard为map对象
来源
req.setAttribute("mapBoard" , map);
%>