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

📄 essayquestion.jsp

📁 中应用程序的访问权限对Java Web Console 中应用程序的访问权限 成功登录 Web 控制台后,可能无法自动访问在该控制台中注册的所有应用程序。通常,必须安装应用程序,才能让所有的用户在控制
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:directive.page import="edu.yinhe.system.util.PaginationVO"/>
<jsp:directive.page import="edu.yinhe.mis.vo.DictionaryVO"/>

<jsp:directive.page import="java.util.List"/>
<%
	String path = request.getContextPath();
%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0058)http://192.168.3.23/ecshop/admin/goods_type.php?act=manage -->
<!-- $Id: essayquestion.jsp,v 1.5 2008/05/08 12:45:19 liuzhou Exp $ --><HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>ECSHOP 管理中心 - 商品类型</TITLE>
<META content="noindex, nofollow" name=robots>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK  href="../css/CSS.css" type=text/css rel=stylesheet>

<LINK href="<%=path %>/admins/css/general.css" type=text/css rel=stylesheet>
<LINK href="<%=path %>/admins/css/main.css" type=text/css rel=stylesheet>
<SCRIPT src="<%=path %>/admins/js/transport.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path %>/admins/js/common.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path %>/admins/js/utils.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path %>/admins/js/listtable.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path %>/admins/js/login.js" type=text/javascript></SCRIPT>
<SCRIPT src="transport.js" type=text/javascript></SCRIPT>

<SCRIPT src="common.js" type=text/javascript></SCRIPT>

<SCRIPT language=JavaScript>
<!--
// 这里把JS用到的所有语言都赋值到这里
var process_request = "正在处理您的请求...";
var lang_enabled = "启用";
var lang_remove = "移除";
var attribute = "属性";
var remove_confirm = "删除类型将会清除该类型下的所有属性。\您确定要删除选定的类型吗?";
//-->
		function checkbox(checked)
		{
			a = document.getElementsByName("checkbox");
			var n = a.length;
			for(var i = 0; i<n; i++){
				a[i].checked = checked;
			}
		}
</SCRIPT>

<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<style type="text/css">
<!--
.STYLE1 {font-size: 8px}
.STYLE2 {color: #000000}
.STYLE4 {color: #000000; font-size: 16px; }
-->
</style>
</HEAD>
<BODY>
<H1>&nbsp; 
<SPAN>&lt;银河管理中心 - 增加试题 </SPAN></H1>



<DIV class=list-div id=listDiv>
			<form name=questionForm onsubmit="return checkAll()" action="<%=path%>/admins/exam/question.html?method=addQuestion" method="post">
				<TABLE width="42%" align="center" cellPadding=3 cellSpacing=1>
					<TBODY>
						<TR>
							<TH colspan="3">
								增加试题							</TH>
						</TR>
						<TR>
							<TD colspan="3" align="right">&nbsp;							</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">试题类型:							</TD>
							<TD colspan="2" align=left>问答题&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=path%>/admins/exam/question/addquestion.jsp">更改类型</a>
									<input name="questionTypeID" type=hidden value="5" size=6>
							</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">所属科目:							</TD>
							<TD colspan="2" align=left>
								<select name="objectName">
									<logic:iterate id="oid" name="olist" scope="request">
										<option value="<bean:write name='oid' property="name"/>">
											<bean:write name='oid' property="name" />
										</option>
									</logic:iterate>
								</select>
							</TD>
						</TR>

						<TR>
							<TD width="49%" align="right">试题名称:</TD>
							<TD colspan="2" rowspan="3" align=left>
								<textarea name="questionName" onkeyup="checkQuestionNum()" cols="30" rows="5"></textarea><font color="red"><span id="qn"></span></font>	</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">&nbsp;</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">&nbsp;</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">注释说明:</TD>
							<TD colspan="2" rowspan="3" align=left>
								<textarea name="explains" cols="30" rows="5">该试题无需注释说明!</textarea></TD>
						</TR>
						<TR>
							<TD width="49%" align="right">&nbsp;</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">&nbsp;</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">正确解答:</TD>
							<TD colspan="2" rowspan="3" align=left>
								<textarea name="questionResult" onkeyup="checkResultNum()" onblur="check3()" cols="30" rows="5"></textarea><font color="red"><span id="qr"></span></font>	
							</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">&nbsp;</TD>
						</TR>
						<TR>
							<TD width="49%" align="right">&nbsp;</TD>
						</TR>

						<TR>
							<TD width="49%" align="right">难度等级:							</TD>
							<TD colspan="2" align=left>
							    <select name="difficultyDegreeID">
							    <jsp:include page="/admins/exam/question.html" flush="true">
							    	<jsp:param name="method" value="queryDifficultyDegree"/>
							    </jsp:include>
							    	
									<logic:present name="dlist" scope="request">
										<logic:iterate id="did" name="dlist">
											<option name="difficultyDegreeID" value="<bean:write name='did' property='difficultyDegreeID'/>">
												<bean:write name='did' property="difficultyDegreeName" />
											</option>
										</logic:iterate>
									</logic:present>
								</select>
							</TD>
						</TR>
						<TR>
							<TD colspan="3" align="right">&nbsp;							</TD>
						</TR>
						<TR>
						  <TD height="28" colspan="3" align="center">
								<INPUT class=button type="submit" value="确定">
						  
								<INPUT class=button type="reset" value="重置">						  
								
								<INPUT class=button type="reset" value="返回" onClick="toBack()">						  </TD>
					    </TR>
					</TBODY>
				</TABLE>
			</form>
		</DIV>
		<DIV id=footer>
<!-- end goods type list -->
<SCRIPT language=JavaScript type=text/javascript>
		function checkAll()
		{
			var questionName = document.all.questionName.value;
			var questionResult = document.all.questionResult.value;

			if(questionName=="")
			{
				document.getElementById("qn").innerHTML="试题内容不能为空!";
				return false;
			}else if(document.questionForm.questionName.value.length>200){
				document.getElementById("qn").innerHTML="试题内容过长!";
				return false;
			}
			if(questionResult=="")
			{
				document.getElementById("qr").innerHTML="试题解答不能为空!";
				return false;
			}else if(document.questionForm.questionResult.value.length>100){
				document.getElementById("qr").innerHTML="试题内容过长!";
				return false;
			}

		}
function checkQuestionNum()
{
	var num = 200;
	document.getElementById("qn").innerHTML="你还可以输入"+(num-document.questionForm.questionName.value.length)+"个字符";
}
function checkResultNum()
{
	var num = 200;
	document.getElementById("qr").innerHTML="你还可以输入"+(num-document.questionForm.questionResult.value.length)+"个字符";
}		
function toBack()
{
	window.history.back();
}

</SCRIPT>
<DIV id=footer><BR>
 版权所有 @2005-2007 湖北银河软件开发有限公司,并保留所有权利。</DIV>
</BODY>
</HTML>

⌨️ 快捷键说明

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