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

📄 inquryexam.jsp

📁 jsp做的一个在线考试,不错的哈.可以看看,这个我测试通过了的.
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu" %>
<%@ taglib uri="/WEB-INF/app.tld" prefix="app" %>

<html:html>
<head> 
  <html:base/>
  <meta http-equiv="Content-Type" content="text/html; charset=GBK">
    <br><br>
    <%@ include file="menu.jsp"%>
<title><bean:message key="exam.title"/></title>
<link rel="stylesheet" type="text/css" media="screen" href="../css/global.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../css/tabs.css" />
<script type="text/javascript" src="../js/tabs.js"></script>
  <link href="../css/main.css" rel="stylesheet" type="text/css">
  <style type="text/css">
    <!--
      .style1 {
      font-size: 14pt;
      color: #003399;
      font-weight: bold;
      }
      .style2 {color: #003399}
    -->
  </style>
</head>
<body bgcolor="#ffffff">
  <html:form action="/exam/saveTestPaper" method="post">
    <bean:size id="s_size" name="examTestActionForm" property="singleQ"/>
    <bean:size id="m_size" name="examTestActionForm" property="multiQ"/>
    <bean:size id="f_size" name="examTestActionForm" property="fitinQ"/>
    <bean:size id="a_size" name="examTestActionForm" property="answerQ"/>
    <table align="center">
        <TR>
          <TD width="775" align="center" class=info1>
            <div align="center" class="style2 style1"><bean:message key="exam.inqury"/></div>
          </TD>
        </TR>
        <TR>
          <TD align="center">
            <table cellSpacing=0 cellPadding=0 width=760 align="center" border=0>
              <TBODY>
                <TR>
                  <TD bgColor=#333333 height=2>                  </TD>
                </TR>
              </TBODY>
            </table>
          </TD>
        </TR>
        <TR>
          <TD align="center" bgcolor="FFFFFF">
            <table cellSpacing=0 bgColor=#ffffff cellPadding=1 width=760 align="center" border=1>
              <TBODY>
                <TR>
                  <TD bgColor="#0099FF">
                    <table class=list1 cellSpacing=0 cellPadding=0 width="100%" align="center" bgColor=#FFFFFF border=0>
                      <TBODY>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <TD colspan="2">
                            <B><bean:message key="search.e_name"/></B>
                           <bean:write name="examTestActionForm" property="examPaper.e_name"/>
</TD>
                          <td width="11%">                          </td>
                        </TR>
                        <TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <TD>
                            <B><bean:message key="search.e_begin"/>:</B>
                            <bean:write name="examTestActionForm" property="examPaper.e_begin"/>
                          </TD>
                          <td width="39%">
                            <B><bean:message key="search.e_end"/>:</B>
                            <bean:write name="examTestActionForm" property="examPaper.e_end"/>
                          </TD>
                        </TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <TD>
                            <B><bean:message key="exam.t_begin"/></B>
                            <bean:write name="examTestActionForm" property="t_begin"/>
                          </TD>
                          <td width="39%">
                            <B><bean:message key="exam.t_end"/></B>
                            <bean:write name="examTestActionForm" property="t_end"/>
                          </TD>
                          <td width="11%">                          </td>
                        </TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <TD>
                            <B><bean:message key="exam.e_timer"/></B>
                            <bean:write name="examTestActionForm" property="examPaper.e_timer"/>
                          </TD>
                          <td width="39%">
                          </TD>
                        </TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <td width="39%">
                            <B><bean:message key="exam.e_total"/></B>
                            <bean:write name="examTestActionForm" property="examPaper.e_total"/>
                          </TD>
                          <td width="39%">
                            <B><bean:message key="exam.e_passvalue"/></B>
                            <bean:write name="examTestActionForm" property="examPaper.e_passvalue"/>
                          </TD>
                          <td width="11%">                          </td>
                        </TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <TD>
                            <B><bean:message key="exam.examineeName"/></B>
																<bean:write name="examTestActionForm" property="examinee_name"/>
</TD>
                          <td width="39%">
                            <B><bean:message key="exam.examineeScore"/></B>
                            <bean:write name="examTestActionForm" property="t_total"/>
                          </TD>

                          <td width="11%">                          </td>
                        </TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>
                          <TD>
                            <B><bean:message key="exam.t_auto"/></B>
                            <bean:write name="examTestActionForm" property="e_auto"/>
                          </TD>
                          <td width="39%">
                            <B><bean:message key="exam.t_manual"/></B>
                            <bean:write name="examTestActionForm" property="e_manual"/>
                          </TD>
                          <td width="11%">                          </td>
                        </TR>
                        <TR bgcolor="#FFFFFF">
                          <td width="11%">                          </td>


                          <td width="39%">                          </td>
                        </TR>
                      </TBODY>
                    </table>
                  </TD>
                </TR>
              </TBODY>
            </table>
            <table cellSpacing=0 cellPadding=0 width=680 align="center" border=0>
              <TBODY>
                <TR>
                  <TD class=info2 height=20 valign="bottom">
                    <DIV align="center">
                      <strong><bean:message key="exam.details"/></strong>
                    </DIV>
                  </TD>
                </TR>
              </TBODY>
            </table>
        <TR>
          <TD align="center">
            <table cellSpacing=0 cellPadding=0 width=760 align="center" border=0>
              <TBODY>
                <TR>
                  <TD bgColor=#333333 height=2>                  </TD>
                </TR>
              </TBODY>
            </table>
          </TD>
        </TR>
        <table cellSpacing=0 bgColor="#ffffff" cellPadding=1 width=760 align="center" border=1>
          <logic:greaterThan name="s_size" value="0">
            <tr>
              <td width="650" bgcolor="#FFFFFF">
                <table width="90%" border="0" cellpadding="1" cellspacing="3" class="ex2">
                  <tr>
                    <td height="2" colspan="2" valign="top">
                      <strong><bean:message key="question.single"/>:</strong>
                    </td>
                  </tr>
                  <logic:iterate id="singleQ" name="examTestActionForm" property="singleQ" indexId="index">
                    <br>
                    <tr>
                      <td valign="top" width="27" height="30">
                        <strong><%= index.intValue()+1 %>.</strong>
                      </td>
                      <td valign="top" width="645">
                        <bean:write name="singleQ" property="q_content"/>
                      </td>
                    </tr>
                    <logic:notEmpty name="singleQ" property="q_picture">
                      <tr>
                        <td height="48">&nbsp;</td>
                        <td>
                          <bean:define id="picture" name="singleQ" property="q_picture"/>
                          <html:img src='<%="../upload/images/"+picture%>' width="100" height="100"/>
                        </td>
                      </tr>
                    </logic:notEmpty>
                    <tr>
                      <td height="30">&nbsp;</td>
                      <td bgcolor="#FFFFFF">
                        A
                        <bean:write name="singleQ" property="text1"/>
                        <br>
                        B
                        <bean:write name="singleQ" property="text2"/>
                        <br>
                        C
                        <bean:write name="singleQ" property="text3"/>
                        <br>
                        D
                        <bean:write name="singleQ" property="text4"/>
                      </td>

⌨️ 快捷键说明

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