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

📄 results.jsp

📁 老外的在线考试
💻 JSP
字号:
<%-- * CyberTester - J2EE Web application for creating, delivering and managing tests/exams/surveys.  * Copyright (C) 2004 CyberDemia Research and Services Pty Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program (see the file COPYING); if not, write to the * Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * * See the COPYING file located in the top-level-directory of * the archive of this program for complete text of license.--%><%@ page language="java"  %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/c.tld" prefix="c" %><%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt" %><%@ taglib uri="/WEB-INF/cd_core.tld" prefix="cyberdemia" %><html:html xhtml="true">	<head>		<title><fmt:message key="title.testee.test.results" /></title>		<meta http-equiv="pragmas" content="no-cache" />		<meta http-equiv="cache-control" content="no-cache" />		<meta http-equiv="expires" content="0" />		<link rel="stylesheet" href="<%= request.getContextPath() %>/cybertester.css" type="text/css" />		<link rel="stylesheet" href="<%= request.getContextPath() %>/testee/testee.css" type="text/css" />		<script type="text/javascript" >		<!--			function viewQuestion( quesId ) {				window.open(					"<cyberdemia:encodeUrl>/testee/viewQuestion.do</cyberdemia:encodeUrl>&quesId="+escape(quesId) ,					"quesViewWin",					"width=500,height=400,scrollbars"				);			}		// -->		</script>		<html:base/>	</head>	<body>		<%@ include file="/include/header.jsp" %>			<h1><html:img page="/images/testeereviewtest_big.gif" alt="Review test" /> <fmt:message key="h1.testee.test.results" /></h1>		<c:if test="${testResults != null}">			<c:choose>				<c:when test="${passedTest != null}">					<div style="color:#006600;font-weight:bold;white-space: nowrap;">						<fmt:message key="text.testee.test.results.passedTest" >							<fmt:param value="${testResults.name}" />						</fmt:message>					</div>				</c:when>				<c:otherwise>					<div style="color:#660000;font-weight:bold;white-space: nowrap;">						<fmt:message key="text.testee.test.results.failedTest" >							<fmt:param value="${testResults.name}" />						</fmt:message>					</div>				</c:otherwise>			</c:choose>						<c:if test="${testTimedOut != null}">				<div style="color:#660000;font-weight:bold;white-space: nowrap;">					<fmt:message key="text.testee.test.results.exceededTime" />				</div>			</c:if>						<div style="white-space: nowrap;">				<fmt:message key="label.testee.test.results.score" /> : <c:out value="${testResults.score}" /> / <c:out value="${testResults.maxScore}" />			</div>			<div style="white-space: nowrap;">				<fmt:message key="label.testee.test.results.dateOfTest">					<fmt:param value="${testResults.lastModifiedStr}" />				</fmt:message>			</div>						<c:forEach var="hierNode" items="${testResults.ownerHierNodeList}" >				<div style="white-space: nowrap;">					<c:out value="${hierNode.type}" /> : 					<c:out value="${hierNode.name}" />				</div>			</c:forEach>						<h2><fmt:message key="h2.testee.test.results.answersSummary" /></h2>			<table width="80%" class="viewer">				<tr>					<th width="1%" class="label">&nbsp;</th>					<th width="1%" class="label"><fmt:message key="label.testee.test.results.questionNumber" /></th>					<th width="1%" class="label"><fmt:message key="label.testee.test.results.userAnswer" /></th>					<th width="1%" class="label"><fmt:message key="label.testee.test.results.correntAnswer" /></th>					<th width="1%" class="label"><fmt:message key="label.testee.test.results.userScore" /></th>					<th width="95%" class="label"><fmt:message key="label.testee.test.results.viewQuestion" /></th>				</tr>				<c:forEach var="history" items="${answerHistoryList}" >					<c:choose>						<c:when test="${history.correct}" >							<tr class="correctAnswer">								<td style="background-color:#ffffff;"><html:img page="/images/greentick.gif" alt="Tick" /></td>						</c:when>						<c:otherwise>							<tr class="wrongAnswer">								<td style="background-color:#ffffff;"><html:img page="/images/redcross.gif" alt="Cross" /></td>						</c:otherwise>					</c:choose>						<td><c:out value="${history.questionIndex + 1}" /></td>						<td><c:out value="${history.userAnswer}" /></td>						<td>							<c:forTokens var="answer" items="${history.correctAnswer}" delims="," >								<div><c:out value="${answer}" /></div>							</c:forTokens>														</td>						<td><c:out value="${history.userScore}" /></td>						<td>							<a href="javascript:viewQuestion( '<c:out value="${history.questionId}" />' )" >								<html:img page="/images/magnifier.gif" alt="View question" /><fmt:message key="label.testee.test.results.viewQuestion" />							</a>						</td>					</tr>				</c:forEach>			</table>		</c:if>				<p>			<html:link page="/testee/goTestee.do"><html:img page="/images/home.gif" alt="Click to return to Testee Home" /> <fmt:message key="label.link.testeeHome" /></html:link>		</p>		<%@ include file="/include/footer.jsp" %>	</body></html:html>	

⌨️ 快捷键说明

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