postslist.jsp
来自「简单的医院系统」· JSP 代码 · 共 51 行
JSP
51 行
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>My JSP 'postsList.jsp' starting page</title>
</head>
<body>
<form action="PostServlet?operation=0" method="post">
<table class="simple">
<tr>
<td></td>
</tr>
<tr>
<th width="20%">
选择
</th>
<th width="20%">
编号
</th>
<th width="20%">
名称
</th>
<th width="40%">
操作
</th>
</tr>
<c:forEach items="${receiptlist}" var="receipt">
<tr>
<td align="center">
<input type="checkbox" name="ids" value="${ receipt.id }">
</td>
<td>
${ receipt.id }
</td>
<td>
${ receipt.name }
</td>
<td>
<a href="HospitalSystem?operation=2&id=${ receipt.id }">删除</a>
<a href="AuthorsServlet?operation=4&id=${ receipt.id }">修改</a>
</td>
</tr>
</c:forEach>
</table>
<hr>
<input type="button" value="添加" class="buttonClass" onclick="javaScript:window.location.href='posts.jsp'">
<input type="button" value="批量删除" onclick="submitFrm();">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?