📄 showadmins.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%@taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>welcome</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<form action="/bussbook/servlet/showAdminHandle">
<h1>
添加删除管理员
</h1>
<h2>
管理员列表
</h2>
<fieldset>
<table width="400" border="1">
<c:forEach var="item" items="${sessionScope.admins}">
<tr>
<td width="80">
<c:out value="${item.adminid}" />
</td>
<td width="120">
<c:out value="${item.adminname}" />
</td>
<td width="150">
<c:out value="${item.adminpwd}"></c:out>
</td>
<td width="20">
<input type="radio" name="adminSel" value="${item.adminid}">
</tr>
</c:forEach>
</table>
</fieldset>
<input type="submit" name="sel" value="删除选中的管理员">
<input type="submit" name="sel" value="添加管理员">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -