摘要: 用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);%>补充:<%List listMainBoard = (List)mapBoard.get(new Integer(0));for(int i 阅读全文
posted @ 2012-04-20 02:45 horizon~~~ 阅读(2179) 评论(0) 推荐(0) 编辑
摘要: 具体的几个例子:<input type=button value=刷新 onclick="window.location.reload()"> <input type=button value=前进 onclick="window.history.go(1)"> <input type=button value=后退 onclick="window.history.go(-1)"> <input type=button value=前进 onclick="window.history 阅读全文
posted @ 2012-04-20 02:36 horizon~~~ 阅读(304) 评论(0) 推荐(0) 编辑