guanli_type.jsp

来自「一个毕业设计网络招标系统实现了招标的业务逻辑内含了数据库sql server备份」· JSP 代码 · 共 79 行

JSP
79
字号
<%@ page language="java" import="java.util.*" import="com.BO.*" import="com.VO.*" pageEncoding="UTF-8"%>
<%String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
					projectTypeBO bo=new projectTypeBO();
					ArrayList list=bo.showType();
					
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'guanli_type.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
	</head>

	<body bgcolor="#FFFFFF" leftmargin="0" marginwidth="0" marginheight="0"><iframe  height=0></iframe>
		<FORM action="servlet/projectTypeSer" method="GET">
		<TABLE borderColor="#FFFFFF" width="98%" border="1" height="42">
			<TR bgcolor="67999A">
				<TD width="33%" align="middle" height="1">
					<p align="center">
						<FONT face="宋体" size="2">类别名称</FONT>
					</p>
				</TD>
				<TD width="33%" align="middle" height="1">
					<p align="center">
						<FONT face="宋体" size="2">删除类别</FONT>
					</p>
				</TD>
				<TD width="33%" align="middle" height="1">
					<p align="center">
						<FONT face="宋体" size="2">修改类别</FONT>
					</p>
				</TD>
			</TR>
			
			<%
			for(int i=0;i<list.size();i++)
			{
			projectTypeVO vo=(projectTypeVO)list.get(i);
			
			
			%>
			<TR bgcolor="#cccccc">
			<TD width="33%" align="middle" height="1">
					<p align="center">
						<FONT face="宋体" size="2"><%=vo.getType_name()%></FONT>
					</p>
				</TD>
				<TD width="33%" align="middle" height="1">
					<p align="center">
						<FONT face="宋体" size="2"><A href="servlet/projectTypeSer?Type_id=<%=vo.getType_id()%>">删除</A></FONT>
					</p>
				</TD>
				<TD width="33%" align="middle" height="1">
					<p align="center">
						<FONT face="宋体" size="2">修改</FONT>
					</p>
				</TD>
			</TR>
			<%}%>
		</TABLE>
		</FORM>
	</body>
</html>

⌨️ 快捷键说明

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