index.jsp~39~

来自「基于b/s模式的jsp在线考试系统」· JSP~39~ 代码 · 共 87 行

JSP~39~
87
字号
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include flush="false" page="isLogin.jsp"/>
<html>
<head>
<title>Admin管理</title>
<script type="" language="javascript" src="js/admin.js"></script></head>
<body bgcolor="#6699FF">
  <%
   String name = (String)session.getAttribute("name");
  %>
  <br /><br />
<marquee scrollamount="2">
 <h2>欢迎教师:<%=name %>登录后台管理系统!</h2>
</marquee>
<table>
  <tr>
    <td>    </td>
  </tr>
  <tr>
    <td>    </td>
  </tr>
</table>
<p></p>
<p></p>
<center>
  <table>
    <tr>
      <th width="100">
        <a href="/admin/index.jsp?action=1">录入考题</a>
      </th>
      <th width="100">
        <a href="/admin/index.jsp?action=2">生成考卷</a>
      </th>
      <th width="100">
        <a href="/admin/UsersPage?page=1">学生管理</a>
      </th>
      <th width="100">
        <a href="/admin/TestPage?page=1">考题管理</a>
      </th>
      <th width="100">
        <a href="/admin/TestsPage?page=1">考卷管理</a>
      </th>
      <th width="100">
        <a href="/admin/alterteainfo">修改资料</a>
      </th>
      <th width="100">
        <a href="/admin/index.jsp?action=6">查看留言</a>
      </th>
      <th width="100">
        <a href="/login.jsp">退出</a>
      </th>
    </tr>
  </table>
  <hr/>
  <p>  </p>
  <p>  </p>
  <p>  </p>
  <table>
    <tbody>
      <c:if test="${param.action==1 or empty param.action}">
      <jsp:include flush="false" page="/admin/addTest.jsp"/>
      </c:if>
      <c:if test="${param.action==2}">
      <jsp:include flush="false" page="creatTest.jsp"/>
      </c:if>
      <c:if test="${param.action==3}">
      <jsp:include flush="false" page="userList.jsp"/>
      </c:if>
      <c:if test="${param.action==4}">
      <jsp:include flush="false" page="testList.jsp"/>
      </c:if>
      <c:if test="${param.action==5}">
      <jsp:include flush="false" page="testsList.jsp"/>
      </c:if>
      <c:if test="${param.action==6}">
      <jsp:include flush="false" page="/detail.jsp"/>
      </c:if>
      <c:if test="${param.action==7}">
      <jsp:include flush="false" page="/admin/modifyinfo.jsp"/>
      </c:if>
    </tbody>
  </table>
</center>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?