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

📄 selectquestion_add.jsp

📁 Hibernate (著译者: 陈天河等)项目开发宝典本书以Hibernate为核心
💻 JSP
字号:
<%@ include file="/pub/jsp/common.jsp" %>
<html>
	<head>
		<title><bean:message key="question.btn.addselect"/></title>
		<link rel="stylesheet" href="../pub/css/common.css">
		<html:javascript formName="selectQuestionForm" 
			dynamicJavascript="true" staticJavascript="true"/>
	</head>
	<body>
		<center>
			<h1><bean:message key="question.btn.addselect"/></h1>
			<html:form action="/exam/selectquestion" method="post" focus="title" 
				onsubmit="return validateSelectQuestionForm( this );">
			<html:hidden property="p" value="add"/>
			<input type="hidden" name="paperid" 
				value="<bean:write name="paper" property="id"/>">
			<html:errors />
			<table>
				<tr>
					<td><bean:message key="questionForm.title"/></td>
					<td><html:text property="title" /></td>
				</tr>
				<tr>
					<td><bean:message key="questionForm.score"/></td>
					<td><html:text property="score" /></td>
				</tr>
				<tr>
					<td><bean:message key="questionForm.answer"/></td>
					<td>
						<html:select property="answer">
							<html:option value="A"/>
							<html:option value="B"/>
							<html:option value="C"/>
							<html:option value="D"/>
						</html:select>					
					</td>
				</tr>
				<tr>
					<td>A:</td>
					<td><input type="text" name="A"></td>
				</tr>
				<tr>
					<td>B:</td>
					<td><input type="text" name="B"></td>
				</tr>
				<tr>
					<td>C:</td>
					<td><input type="text" name="C"></td>
				</tr>
				<tr>
					<td>D:</td>
					<td><input type="text" name="D"></td>
				</tr>
				<tr>
					<td align="center" colspan="2">
						<html:submit>
							<bean:message key="btn.save"/>
						</html:submit>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<html:reset>
							<bean:message key="btn.reset"/>
						</html:reset>
					</td>	
				</tr>
			</table>
			</html:form>
			<!-- Display the return link. -->
			<table border="0">
				<tr>
					<td>
						<html:link href="question.do?p=list" 
							paramId="paperid" paramName="paper" 
							paramProperty="id">
							<bean:message key="btn.back" />
						</html:link>
					</td>
				</tr>
			</table>
			<p>&nbsp;<p>
			<img src="../images/select.gif" width="200">
		</center>
	</body>
</html>

⌨️ 快捷键说明

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