📄 select.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE1 {
font-size: 36px;
color: #0066FF;
font-family: "新宋体";
}
body,td,th {
font-size: 12px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.STYLE6 {color: #0000FF; }
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(picture/2.jpg);
}
.style7 {font-size: 24px}
.style8 {
color: #9900FF;
font-weight: bold;
font-style: italic;
font-size: 24px;
font-family: "楷体_GB2312";
}
.style9 {color: #9900FF}
.style10 {color: #990033}
-->
</style>
</head>
<body>
<form name="form">
<p align="center" class="STYLE1 style7"> </p>
<p align="center" class="STYLE1 style7 style8">计算机2级信息</p>
<table width="853" height="74" border="1" bordercolor="#33FF00">
<tr>
<td width="143" height="29"><div align="center" class="STYLE6 style9">ID</div></td>
<td width="135"><div align="center" class="style9">姓名</div></td>
<td width="135"><div align="center" class="style9">学号</div></td>
<td width="131"><div align="center" class="style9">性别</div></td>
<td width="139"><div align="center" class="style9">密码</div></td>
<td width="126"><div align="center" class="style9">生日</div></td>
<td width="126"><div align="center" class="style9">是否报到</div></td>
<td width="139"><div align="center" class="style9">是否删除</div></td>
</tr>
<c:forEach items="${result}" var="item">
<tr>
<td height="37"><div align="center">
<div align="center" class="style10">${item.student.id}</div></td>
<td><div align="center">
<div align="center" class="style10">${item.student.name}</div></td>
<td><div align="center">
<div align="center" class="style10">${item.student.num}</div></td>
<td><div align="center">
<div align="center" class="style10">${item.student.sex}</div></td>
<td><div align="center">
<div align="center" class="style10">${item.student.pwd}</div></td>
<td><div align="center">
<div align="center" class="style10">${item.student.birth}</div></td>
<td><div align="center">
<div align="center" class="style10">${item.student.money}</div></td>
<td><div align="center">
<div align="center"><a href="delete.do?id=${item.student.id}" class="style9" >删除</a></div></td>
</tr>
</c:forEach>
</table>
<div align="center"></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -