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

📄 sj101.jsp

📁 基于Struts的试卷分析系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB2312"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> 
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html>
<head>
<title>试卷分析一览</title>
<meta http-equiv=Content-Type content="text/html; charset=GBK">
<meta http-equiv="Content-Style-Type" content="text/css">
<link href="./css/common.css" rel="stylesheet" type="text/css">
	<script language="JavaScript" src='<html:rewrite page="/java_script/gyomukanri.js" />'></script>
	<script language="JavaScript" src="./java_script/Eventlistener.js"></script>
	<script language="JavaScript">	
		// [取消]按纽按下
	    function doCancle(){
	        if (bCancel=true) {
		        formWithActionName(document.forms[0],'<html:rewrite page="/SG601Torikesi.do?method=login" />');
		    }
	    }
		
		// [登陆]按纽按下
		 function doToroku(){
		    formWithActionName(document.forms[0],'<html:rewrite page="/mainmenuToroku.do?method=Toroku" />');
	    }
	</script>
</head>
<body>

<bean:define id="thisForm" name="SJ101DynaForm" />
<html:form action="/Sj101Init">
<html:hidden name ="thisForm" property="sjbh" />
<table>
	<tr>
		<td><img src="./img/logo.jpg" align="middle"/></td>
	</tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td class="trIdnContextAndTitle">
			<html:errors />
		</td>
	</tr>
</table>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
	<tbody>
	 <!--  欢迎栏 -->	
		<tr>
			<td vAlign=center bgColor=#99ccff colSpan=2 height=20>
				<table cellSpacing=0 cellPadding=0 width="100%" border=0>
				<tbody>
					<tr>
						<td width=200>&nbsp;</td>
						<td width=182 height=22 nowrap><div align=center>欢迎你,<bean:write name="thisForm" property="username"/> !</div></td> 
						<td width=300>&nbsp;</td>
          		    	<td width=120 nowrap><div align=center><strong><A class=Bluelink_NoUnder href='<html:rewrite page="/Sj201Init.do"/>?dispatch=init'>添加试卷分析</A></strong></div></td>
          				<td width=300>&nbsp;</td>
          				<td width=110 nowrap><div align=center><A href=""><strong class=Bluelink_NoUnder>退出系统</strong></A></div></td>
          				<td width=400>&nbsp;</td>
					</tr>
				</tbody>
				</table>
			</td>
		</tr>
		<tr height=30><td>&nbsp;</td></tr>
    <!-- 目前没有试卷分析记录 -->
    	<logic:empty name="thisForm" property="seisanList" >
    		<tr>
	    		<td vAlign=top colSpan=2 height=133>
	      			<div align=center>
	      			<li>目前没有你的试卷分析记录!               
		              	<table cellSpacing=0 borderColorDark=#ffffff cellPadding=0 width="98%" align=center borderColorlight=#99ccff border=1>
		                <tbody>
							<tr bgColor=#99ccff> 
			                    <td width=65  class="trCenter" nowrap>编号</td>
			                    <td width=155 class="trCenter" nowrap>课程名称</td>
			                    <td width=100 class="trCenter" nowrap>班级名称</td>
			                    <td width=155 class="trCenter" nowrap>考试时间</td>
			                    <td width=100 class="trCenter" nowrap>任课老师</td>
			                    <td width=100 class="trCenter" nowrap>考试人数</td>
			                    <td width=100 class="trCenter" nowrap>试卷分析</td>
			                    <td width=100 class="trCenter" nowrap>编辑</td>
			                    <td width=100 class="trCenter" nowrap>删除</td>
		                  	</tr>
		                </tbody>
		              	</table>
	      			</li>
	      			</div>
				</td>
			</tr>
    	</logic:empty>
    <!--  数据一览显示 -->	
    	<logic:notEmpty name="thisForm" property="seisanList" >
    		<tr>
    			<td vAlign=center colSpan=2 >
	      			<div align=center>
		              	<table cellSpacing=0 borderColorDark=#ffffff cellPadding=0 width="98%" align=center borderColorlight=#99ccff border=1>
		                <tbody>
							<tr bgColor=#99ccff height=20> 
			                    <td width=65  class="trCenter" nowrap>编号</td>
			                    <td width=155 class="trCenter" nowrap>课程名称</td>
			                    <td width=100 class="trCenter" nowrap>班级名称</td>
			                    <td width=155 class="trCenter" nowrap>考试时间</td>
			                    <td width=100 class="trCenter" nowrap>任课老师</td>
			                    <td width=100 class="trCenter" nowrap>考试人数</td>
			                    <td width=100 class="trCenter" nowrap>试卷分析</td>
			                    <td width=100 class="trCenter" nowrap>编辑</td>
			                    <td width=100 class="trCenter" nowrap>删除</td>
		                  	</tr>
		                  	<logic:iterate id="Line" name="thisForm" property="seisanList" indexId="i">
						<!--  基数行显示 -->
								<logic:equal name="Line" property = "colorFlg" value= "listdetail0">
									 <tr class ="trListDetail1">
									 	<td width=65 class="trCenter"><html:text property="txt_id"  name="Line" styleClass="TextReadOnly input trCenter" readonly="true" size="10" /></td>
									 	<td width=155 class="trCenter"><html:text property="txt_couse"  name="Line" styleClass="TextReadOnly input trCenter" readonly="true" size="20" /></td>
									 	<td width=100 class="trCenter"><html:text property="txt_class"  name="Line" styleClass="TextReadOnly input trCenter" readonly="true" size="10" /></td>
									 	<td width=155 class="trCenter"><html:text property="txt_examTime"  name="Line" styleClass="TextReadOnly input trCenter" readonly="true" size="20" /></td>
									 	<td width=100 class="trCenter"><html:text property="txt_teacher"  name="Line" styleClass="TextReadOnly input trCenter" readonly="true" size="10" /></td>
									 	<td width=100 class="trCenter"><html:text property="txt_number"  name="Line" styleClass="TextReadOnly input trCenter " readonly="true" size="10" /></td>
									 <logic:equal name="Line" property = "sg101hdnIndex" value= "0">
									 	<td width=100 class="trCenter">未完成</td>
									 </logic:equal>
									 <logic:equal name="Line" property = "sg101hdnIndex" value= "1">
									 	<td width=100 class="trCenter"><a href="/">查看</a></td>
									 </logic:equal>
									 	<td width=100 class="trCenter"><a href='<html:rewrite page="/Sj201Init.do"/>?dispatch=modify&bhID=<bean:write name="Line" property="txt_id"/> '>编辑</a></td>
									 	<td width=100 class="trCenter"><a href="/">删除</a></td>  
									 </tr>
								</logic:equal>
							<!--  偶数行显示 -->
								<logic:equal name="Line" property = "colorFlg" value= "listdetail1">
									<tr class ="trListDetail2">
									 	<td width=65 class="trCenter"><html:text property="txt_id"  name="Line" styleClass="TextReadOnly99 input trCenter" readonly="true" size="10" /></td>
									 	<td width=155 class="trCenter"><html:text property="txt_couse"  name="Line" styleClass="TextReadOnly99 input trCenter" readonly="true" size="20" /></td>
									 	<td width=100 class="trCenter"><html:text property="txt_class"  name="Line" styleClass="TextReadOnly99 input trCenter" readonly="true" size="10" /></td>
									 	<td width=155 class="trCenter"><html:text property="txt_examTime"  name="Line" styleClass="TextReadOnly99 input trCenter" readonly="true" size="20" /></td>
									 	<td width=100 class="trCenter"><html:text property="txt_teacher"  name="Line" styleClass="TextReadOnly99 input trCenter" readonly="true" size="10" /></td>
									 	<td width=100 class="trCenter"><html:text property="txt_number"  name="Line" styleClass="TextReadOnly99 input trCenter" readonly="true" size="10" /></td>
									 <logic:equal name="Line" property = "sg101hdnIndex" value= "0">
									 	<td width=100 class="trCenter">未完成</td>
									 </logic:equal>
									 <logic:equal name="Line" property = "sg101hdnIndex" value= "1">
									 	<td width=100 class="trCenter"><a href="/">查看</a></td>
									 </logic:equal>
									 	<td width=100 class="trCenter"><a href='<html:rewrite page="/Sj201Init.do"/>?dispatch=modify'>编辑</a></td>
									 	<td width=100 class="trCenter"><a href="/">删除</a></td>
								</logic:equal>
							</logic:iterate>	
		                </tbody>
		              	</table>
	      			</div>
				</td>
			</tr>
    	</logic:notEmpty>
	 <!--  数据一览显示 -->	
		<tr>
			<td vAlign=center colSpan=2 height=34><div align=center>Power By <a href="http://jwc.hbnu.edu.cn/">jwc.hbnu.edu.cn</a></div></td>
		</tr>
	</tbody>
</table>	
</html:form>
</body>
</html:html>
		

⌨️ 快捷键说明

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