📄 80fd297ffba3001d1dd7a5b927427436
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="com.xxgl.bean.NewstudentBean" %>
<%@ page import="java.util.*" %>
<%
List result = (List)request.getAttribute("result");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<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/SelectnewstuServlet";
form1.method = "post";
form1.submit ();
}
function myfind1()
{
form1.action ="<%=request.getContextPath() %>/servlet/DaorustuServlet";
form1.method = "post";
form1.submit ();
}
</script>
<body>
<form name="form1" method="post" >
<table style="FONT-SIZE: 10pt" borderColor="#ffffff" cellSpacing="0" cellPadding="0" bgColor="#dee7ff" border="0" width="679" 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="683" height="0" align="center" bordercolor="#2955b5">
<tr>
<td width="92">入学年份:</td>
<td width="470"><input type="text" name="rxnf" value="<%=request.getParameter("rxnf") %>"></td>
<td width="52" height="0" background="<%=request.getContextPath() %>/jiemian/image/find.gif" id="submit1" style="cursor:hand" onclick="myfind()" > </td>
<td width="52" height="0" background="<%=request.getContextPath() %>/jiemian/image/find1.gif" id="submit2" style="cursor:hand" onclick="myfind1()" > </td>
</tr>
</table>
<table width="682" 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="82" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">姓名: </td>
<td width="73" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">性别:</td>
<td width="151" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">年龄:</td>
<td width="146" vAlign="center" borderColor="#3b82f1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">政治面貌:</td>
<td width="116" vAlign="center" borderColor="#3b82f1" bordercolor="1" background="<%=request.getContextPath() %>/jiemian/image/list_middle.jpg" bgColor="#f7f7f7">籍贯:</td>
</tr>
<%
for(int i = 0; i < result.size(); i++){
NewstudentBean newstu = (NewstudentBean)result.get(i);
%>
<tr>
<td><%=i + 1 %></td>
<td><%=newstu.getS_name() %></td>
<td><%=newstu.getSex() %> </td>
<td><%=newstu.getAge()%> </td>
<td><%=newstu.getZzmm()%> </td>
<td><%=newstu.getJg()%> </td>
</tr>
<% } %>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -