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

📄 f0c5cdd83aa2001d1785fb60b644c45c

📁 实习的时候做的数字校园系统
💻
字号:
<%@ 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 ();
   }
   </script>
<body>
<form name="form1" method="post" action="">
  <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="image/file1.gif"></td>
      <td width="104" background="image/title_left.gif" bgcolor="#CCCCCC"><font color="#f7f7f7">新生信息管理<font></td>
      <td width="8" background="image/title_middle.gif"><font color="#f7f7f7">&nbsp;</font></td>
      <td width="541" background="image/title_right.gif"><font color="#f7f7f7">&nbsp;</font></td>
    </tr>
  </table>
  <table width="683" height="0" border="1" align="center" bordercolor="#2955b5">
    <tr>
      <td width="92">入学年份:</td>
      <td width="522"><input type="text" name="textfield"></td>
      <td width="52" height="0" background="image/find.gif" id="submit2" style="cursor:hand" onclick="myfind()" WIDTH="54" HEIGHT="21">&nbsp;</td>
    </tr>
  </table>
  <table width="682" border="0" align="center" cellspacing="0" bordercolor="#2955b5">
    <tr>
      <td width="88">编号:</td>
      <td width="82">姓名: </td>
      <td width="73">性别:</td>
      <td width="151">年龄:</td>
      <td width="146">政治面貌:</td>
      <td width="116" bordercolor="1">籍贯:</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() %></a></td>
    <td><%=newstu %>&nbsp;</td>
    <td><%=newstu%>&nbsp;</td>
    <td><a href="<%=request.getContextPath() %>/servlet/DeleteParameterServlet?id=<%=pBean.getId() %>">删除</a></td>
  </tr>
  <% } %>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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