<%
String member=(String)session.getAttribute("member");
if(member==null)member="游客";
guestbean.setEVERYPAGENUM(6);
int cou = guestbean.getMessageCount();//得到信息总数
String page1=request.getParameter("page");
if(page1==null){
page1="1";
}
session.setAttribute("busMessageCount", cou + "");
session.setAttribute("busPage", page1);
List pagelist1 = guestbean.getMessage(Integer.parseInt(page1)); //带进一个页数,并返回该页所要显示的信息
session.setAttribute("qqq", pagelist1);
int pageCount = guestbean.getPageCount(); //得到页数
session.setAttribute("busPageCount", pageCount + "");
List pagelist3=(ArrayList)session.getAttribute("qqq");
if(!pagelist3.isEmpty()){
for(int i=0;i
<%}}%>
|