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

📄 exam.jsp

📁 一个很实用的在线考试系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>在线考试系统</title>
  	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  	<style type="text/css">
	<!--
	body,td,th {
		font-size: 9pt;
	}
	-->
	</style>
</head>
  
  <body>
    <form name="form1" method="post" action="examsave.jsp">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width='20%'><%@ include file = "left.jsp" %></td>
          <td width='80%'>
          <br>
          <br>
          <table width="100%" border="0" cellspacing="1" cellpadding="1"  bgColor=#595959>
            <tr>
              <td height="25" colspan="2" bgcolor="#FFFFFF">在线考试系统-生成试卷</td>
            </tr>
            <tr bgColor=#d1face>
              <td height="25" >试卷名称: </td>
              <td><input name="papertitle" type="text" id="papertitle"></td>
            </tr>
            <tr bgColor=#d1face>
              <td width="17%" height="25" >试卷选择题数目:</td>
              <td width="83%"><select name="paperchoicenum" id="paperchoicenum">
			  <%
			  int i = 1;
			  for(i=1;i<=20;i++)
			  {
			  	out.print("<option value="+i+">"+i+"</option>");
			  }
			  %>
              </select>              </td>
            </tr>
            <tr bgColor=#ffffff>
              <td>试卷判断题数目: </td>
              <td><select name="paperopinionnum" id="paperopinionnum">
              <%
              	for(i=1;i<=20;i++)
			  {
			  	out.print("<option value="+i+">"+i+"</option>");
			  }
              %>
              </select></td>
            </tr>
            <tr bgColor=#d1face>
              <td>试卷讨论题数目: </td>
              <td><select name="paperdiscussnum" id="paperdiscussnum">
              <%
              	for(i=1;i<=20;i++)
			  {
			  	out.print("<option value="+i+">"+i+"</option>");
			  }
              %>
              </select></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td>试卷时间:</td>
              <td><input name="papertime" type="text" id="papertime">
                分钟</td>
            </tr>
            <tr bgColor=#d1face>
              <td colspan="2" align="center"><input type="submit" name="Submit" value="提交">&nbsp;&nbsp;
              <input type="reset" name="Submit2" value="重置"></td>
            </tr>
          </table></td>
        </tr>
      </table>
      </form>
  </body>
</html>

⌨️ 快捷键说明

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