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

📄 selectallemployee.jsp

📁 JAVA 用于网站开发
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@page import="java.util.*"%>
<%@page import="javax.sql.DataSource"%>
<%@page import="javax.naming.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
  <head>
  <title>显示所有教务人员</title>
  </head>
<body bgcolor="#ffffff">
<center><font size="6" color="blue" face="黑体">东软信息学院学生学籍管理系统<br></font><font face="Gautami" color="blue" size="4">NSMS [Neusoft Student-satus Management System ]</font></center>
    <center>
     <font size="4" color="red" face="隶书">欢迎您:&nbsp;&nbsp;
<c:choose>
   <c:when test="${usertype==0}">管理员&nbsp;&nbsp;<a href="./../servlet/Aupdateservlet1?name=${username}"><font color="red" onMouseOver="this.style.color='blue'" onMouseOut="this.style.color='red'"><c:out value="${username}"/></font></a>&nbsp;&nbsp;</c:when>
   <c:when test="${usertype==1}">学生&nbsp;&nbsp;<a href="./../servlet/Supdateservlet1?name=${username}"><font color="red" onMouseOver="this.style.color='blue'" onMouseOut="this.style.color='red'"><c:out value="${username}"/></font></a>&nbsp;&nbsp;</c:when>
   <c:when test="${usertype==2}">教师&nbsp;&nbsp;<a href="./../servlet/Tupdateservlet1?name=${username}"><font color="red" onMouseOver="this.style.color='blue'" onMouseOut="this.style.color='red'"><c:out value="${username}"/></font></a>&nbsp;&nbsp;</c:when>
   <c:when test="${usertype==3}">教务人员&nbsp;&nbsp;<a href="./../servlet/Eupdateservlet1?name=${username}"><font color="red" onMouseOver="this.style.color='blue'" onMouseOut="this.style.color='red'"><c:out value="${username}"/></font></a>&nbsp;&nbsp;</c:when>
</c:choose>
      <jsp:useBean id="now" class="java.util.Date"/>
       日期:<fmt:formatDate value="${now}"/>&nbsp;&nbsp;
       时间:<fmt:formatDate value="${now}" type="time" dateStyle="long"/>
<br><hr></font>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
									<center>
									<table><tr><td>
									<form action="./../lxd/addempollyee.jsp">
	记录共有:&nbsp;&nbsp;<font color="red">${count}</font>&nbsp;&nbsp;个教务人员&nbsp;&nbsp;
	<INPUT type="Submit" name="添加教务人员" value="添加教务人员"/>
	<input type="button" value="返回" onClick="window.history.back();">
	<select name="select1" size="1" onChange="javascript:location.href=this.options[this.selectedIndex].value" style="BACKGROUND-COLOR: #d9dcff; COLOR: rgb

(0,0,128); FONT-SIZE: 9pt">
												<option>
													菜单
												</option>
												<option value="./../lxd/lxdsuccess.jsp">
													返回首页
												</option>
												<option value="./../lxd/lxdquit.jsp">
													安全退出
												</option>
											</select>
									</form>
									</td></tr></table>
									<table>
											<tr aline="center">
												<form name="find" method="post" action="./../servlet/Eselectservlet">
												<td>
													搜索教务姓名:
												</td>
												<td>
													<input type="text" name="keyname">
												</td>
												<td>
													<INPUT type="Submit"value="查询">
													<input type="reset" value="重置">
												</td>
												</form>
											</tr>
											<table width="505" height="*" border="0" align="center" cellspacing="1" bgcolor="#4020c0">
												<tr align="center" bgcolor="#60c0ff">
													<th>
														序号
													</th>
													<th>
														姓名
													</th>
													<th>
														密码
													</th>
													<th>
														电话
													</th>
													<th>
														邮箱
													</th>
													<th>
														删除
													</th>
													<th>
														修改
													</th>
												</tr>
												<c:forEach var="employeeinfo" items="${show}">
													<c:if test="${!(empty employeeinfo.name)}">
														<tr bgcolor="#c0ffff">
															<td>
																<center>${employeeinfo.id}</center>
															</td>
															<td>
																<center>${employeeinfo.name}</center>
															</td>
															<td>
																<center>${employeeinfo.password}</center>
															</td>
															<td>
																<center>${employeeinfo.tel}</center>
															</td>
															<td>
																<center><a href="mailto:${employeeinfo.email}">${employeeinfo.email}</a></center>
															</td>
															<td>
																<center><a href="./../servlet/Edeleteservlet?name=${employeeinfo.name}">删除</a></center>
															</td>
															<td>
																<center><a href="./../servlet/Eupdateservlet1?name=${employeeinfo.name}">修改</a></center>
															</td>
														</tr>
													</c:if>
												</c:forEach>


											</table>
  </body>
</html>

⌨️ 快捷键说明

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