testslist.jsp
来自「基于b/s模式的jsp在线考试系统」· JSP 代码 · 共 40 行
JSP
40 行
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<center>
<h1>考卷管理</h1>
<table border="1">
<tr>
<th>编号</th>
<th>文件名</th>
<th>日期</th>
<th>操作</th>
</tr>
<c:forEach var="list" items="${requestScope.list}">
<tr>
<td>${list.tests_ID} </td>
<td>
<a onclick="window.open('../test.jsp?xmlPth=${list.tests_Time}')" href="#">${list.tests_Path} </a>
</td>
<td>
<script type="" language="javascript">printTime('${list.tests_Time}')</script> </td>
<td onclick="deleteTests(${list.tests_ID},${list.tests_Time})" style="cursor:hand">删除</td>
</tr>
</c:forEach>
</table>
<table>
<tr>
<td>
<a href="TestsPage?page=${requestScope.page-1<=0?"1":requestScope.page-1}">上一页</a>
</td>
<td>
<a href="TestsPage?page=${requestScope.page+1>=requestScope.pagecount?requestScope.pagecount:requestScope.page+1}">下一页</a>
</td>
<td>${requestScope.page} /
${requestScope.pagecount} 页
</td>
</tr>
</table>
</center>
<c:if test="${not empty requestScope.alert}">
<script type="" language="javascript">${requestScope.alert}</script></c:if>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?