📄 postslist.jsp
字号:
<%@ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -