【文件属性】:
文件名称:jsp源码-网络交易系统
文件大小:5.05MB
文件格式:RAR
更新时间:2013-03-22 04:12:02
jsp源码 网络交易系统
jsp源码实例-网络交易系统
<%@ page language="java"
import="java.util.*,domain.*,struts.page.*" pageEncoding="GB2312" errorPage="error.jsp"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h"%>
<%
List plist = (List) request.getAttribute("plist");
Users us = (Users) request.getSession().getAttribute("user");
List alist1 = (List)request.getSession().getAttribute("alist1");
Iterator in1 = alist1.iterator();
List alist2 = (List)request.getSession().getAttribute("alist2");
Iterator in2 = alist2.iterator();
List alist3 = (List)request.getSession().getAttribute("alist3");
Iterator in3 = alist3.iterator();
List alist4 = (List)request.getSession().getAttribute("alist4");
Iterator in4 = alist4.iterator();
List alist5 = (List)request.getSession().getAttribute("alist5");
Iterator in5 = alist5.iterator();
%>
<%
int rowNum = plist.size();
int myi = (Integer) request.getAttribute("mypage");
int pages = myi;
int pageSize = 18;
int totalPage = 0;
if (rowNum % pageSize == 0) {
totalPage = rowNum / pageSize;
} else {
totalPage = rowNum / pageSize + 1;
}
%>
交易撮合