⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 maker1.jsp

📁 一个毕业设计网络招标系统实现了招标的业务逻辑内含了数据库sql server备份文件
💻 JSP
字号:
<%@ page language="java" import="java.util.*,C03.VO.*,C03.BO.*" pageEncoding="GB2312"%>
<%String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";

			%>

<%long page1 = 1;
			if (request.getParameter("page1") != null)
				page1 = Long.parseLong(request.getParameter("page1").trim());
			long pagemax = 3;
			long count;
			pageBO pg = new pageBO();
			basicBO basic = new basicBO();
			count = pg.getMakerListCount();

			Vector list = new Vector();
			list = pg.getMakerList(page1, pagemax);
			%>
<html>
	<head>
		<title>xxx</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link rel="stylesheet" href="style.css" type="text/css">
	</head>
	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><iframe  height=0></iframe>
		<center>
			<table width="850" border="0" cellspacing="0" cellpadding="0" height="103">

				<tr>
					<td height="65">
						<a href="index.jsp"><%@include file="top.inc"%></a>
					</td>
				</tr>
			</table>
			<%@ include file="love.inc"%>
			<table width="850" border="0" cellspacing="0" cellpadding="0" height="122">
				<tr>
					<td colspan="2" align="center" height="84">
						<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
							<tr bgcolor="0092B8">
								<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF">
										<tr align="center">
											<td>
												<table width="764" border="0" cellspacing="1" cellpadding="0">
													<tr align="center" bgcolor="E1D1B7">
														<td height="25" align="center" colspan="7" width="758">
															<b>厂商信息</b>
														</td>
													</tr>
													<tr bgcolor="F6F2E6">

														<td height="25" align="center" width="126">
															<font color="#FF0000"> 投标厂商名称</font>
														</td>
														<td align="center" width="141">
															<font color="#FF0000">总部地址</font>
														</td>
														<td align="center" width="87">
															<font color="#FF0000">注册时间</font>
														</td>
														<td align="center" width="142">
															<font color="#FF0000">注册地址</font>
														</td>
														<td align="center" width="76">
															<font color="#FF0000">注册资金</font>
														</td>
														<td align="center" width="74">
															<font color="#FF0000">法人姓名</font>
														</td>
														<td align="center" width="88">
															<font color="#FF0000">详细信息</font>
														</td>
													</tr>
													<%if (list != null) {
				for (int i = 0; i < list.size(); i++) {
					makerBean mk = new makerBean();
					mk = (makerBean) list.elementAt(i);
%>
													<tr bgcolor="F6F2E6" align="center">
														<td height="25" width="126">
															<p>
																<a href="maker21.jsp?mkid=<%=mk.getMaker_id()%>"><%=mk.getMaker_name()%></a>
															</p>
														</td>
														<td width="141">
															<%if (mk.getMaker_address() != null)
						out.println(mk.getMaker_address());%>
														</td>
														<td width="87">
															<%=mk.getMaker_Cr_time()%>
														</td>
														<td width="142">
															<%=mk.getMaker_Cr_address()%>
														</td>
														<td width="76">
															<%=mk.getMaker_Cr_cost()%>
														</td>
														<td width="74">
															<%=mk.getMaker_Fr_name()%>
														</td>
														<td width="88">
															<a href="makerinfo.jsp?mkid=<%=mk.getMaker_id()%>" target="_blank">详细信息</a>
														</td>
													</tr>
													<%}
			}%>

												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr align="right">
					<td colspan="2" height="38">
						<a href="#" onClick="MM_openBrWindow('send_pop.shtml','','width=300,height=250')"><br> <br> </a>
					</td>
				</tr>
			</table>
			<form method="POST" action="maker1.jsp" name="pageform">
			<table width="774" border="0" cellspacing="0" cellpadding="0">
				
				<tr align="center" valign="top">
					<td height="20">
						<a href="maker1.jsp?page1=1">首 页</a>
						<%if (page1 >= 2) {%>
						<a href="maker1.jsp?page1=<%=page1-1%>">上一页<img src="images/aleft.gif" width="18" height="16" border="0" align="absbottom"></a>
						<%} else {%>
						上一页
						<img src="images/aleft.gif" width="18" height="16" border="0" align="absbottom">
						<%}%>
						<input type="text" name="page1" size="2" value="<%=page1%>" onkeydown="if(event.keyCode==13)this.form.submit()">
						<%if (page1 < count / pagemax + 1) {%>
						<a href="maker1.jsp?page1=<%=(page1+1)%>"> <img src="images/aright.gif" width="18" height="16" border="0" align="absbottom">下一页</a>
						<%} else {%>
						<img src="images/aright.gif" width="18" height="16" border="0" align="absbottom">
						下一页
						<%}%>
						<a href="maker1.jsp?page1=<%=count/pagemax+1%>">最后一页</a>
					</td>
				</tr>
				
			</table>
			</form>
			<p>
				&nbsp;
			</p>
		</center>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -