📄 909f3edaa1a4001d1244fff0ec116176
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*" %>
<%@ page import="com.xxgl.bean.StudentBean" %>
<%
List result = (List)request.getAttribute("result");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>学生信息管理</title>
<style type="text/css">
<!--
body {
background-color: #DEE7FF;
}
.style1 {color: #f7f7f7}
-->
</style>
</head>
<script language="JavaScript">
function myfind()
{
form1.action ="<%=request.getContextPath() %>/servlet/StucxServlet";
form1.method = "post";
form1.submit ();
}
function myfind1()
{
form1.action ="<%=request.getContextPath() %>/servlet/AllstucxServlet";
form1.method = "post";
form1.submit ();
}
</script>
<body>
<form name="form1" method="post" action="">
<table style="FONT-SIZE: 10pt" borderColor="#ffffff" cellSpacing="0" cellPadding="0" bgColor="#dee7ff" border="0" width="800" align="center">
<tr>
<td width="12" height="15" background="<%=request.getContextPath() %>/jiemian/image/file1.gif"></td>
<td width="104" background="<%=request.getContextPath() %>/jiemian/image/title_left.gif" bgcolor="#CCCCCC"><font color="#f7f7f7">学生信息管理</font></td>
<td width="8" background="<%=request.getContextPath() %>/jiemian/image/title_middle.gif"><font color="#f7f7f7"> </font></td>
<td width="541" background="<%=request.getContextPath() %>/jiemian/image/title_right.gif"><font color="#f7f7f7"> </font></td>
</tr>
</table>
<table width="800" height="0" align="center" bordercolor="#2955b5">
<tr>
<td width="90" vAlign="center">学号:</td>
<td width="470"><input type="text" name="xh"></td>
<td width="50" height="0" background="<%=request.getContextPath() %>/jiemian/image/find.gif" id="submit1" style="cursor:hand" onclick="myfind()" > </td>
<td width="50" height="0" background="<%=request.getContextPath() %>/jiemian/image/find2.gif" id="submit2" style="cursor:hand" onclick="myfind1()" > </td>
</tr>
</table>
<table width="800" border="0" align="center" cellspacing="0" bordercolor="#2955b5">
<tr>
<td width="88" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">学号:</td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">姓名: </td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">性别:</td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">年龄:</td>
<td width="50" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">年级:</td>
<td width="50" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">班级:</td>
<td width="50" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">职务:</td>
<td width="70" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">电话:</td>
<td width="70" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">籍贯:</td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">政治面貌:</td>
<td width="90" bordercolor="1" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">地址:</td>
<td width="121" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">备注:</td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">修改:</td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">删除:</td>
</tr>
<%
for(int i = 0; i < result.size(); i++){
StudentBean newstu = (StudentBean)result.get(i);
%>
<tr>
<td><%=newstu.getS_id()%></td>
<td><%=newstu.getS_name() %></td>
<td><%=newstu.getSex() %> </td>
<td><%=newstu.getAge()%> </td>
<td><%=newstu.getGrade() %> </td>
<td><%=newstu.getClass1() %> </td>
<td><%=newstu.getJob() %> </td>
<td><%=newstu.getPhone() %> </td>
<td><%=newstu.getJg()%> </td>
<td><%=newstu.getZzmm()%> </td>
<td><%=newstu.getAdress() %> </td>
<td><%=newstu.getMemory()%> </td>
<td bgColor="#f7f7f7" ><a href="<%=request.getContextPath() %>/jiemian/updatestu.jsp?id=<%=newstu.getS_id() %>">修改</a></td>
<td bgColor="#f7f7f7"><a href="<%=request.getContextPath() %>/servlet/DeletestuServlet?id=<%=newstu.getS_id()%>">删除</a></td>
</tr>
<% } %>
<tr>
<td width="88" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="100" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="140" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="170" bordercolor="1" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="171" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
<td width="60" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7"> </td>
</tr>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -