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

📄 testslist.jsp

📁 基于b/s模式的jsp在线考试系统
💻 JSP
字号:
<%@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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -