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

📄 student_update.jsp

📁 hibernate项目开发宝典该书籍的 源码
💻 JSP
字号:
<%@ include file="/pub/jsp/common.jsp" %>
<hxex:authority />
<html>
	<head>
		<title><bean:message key="student.btn.updatestudent"/></title>
		<link rel="stylesheet" href="../pub/css/common.css">
		<html:javascript formName="studentForm" dynamicJavascript="true" 
			staticJavascript="true"/>
		<script>
			function validateTotal( form )
			{
				if( validateTeacherForm( form )==false )
					return false;
				
				if( form.password.value!=form.repassword.value )
				{
					alert( '<bean:message key="teacher.msg.passwordsame"/>' );
					form.repassword.focus();
					return false;
				}
				return true;
			}
		</script>
	</head>
	<body>
		<center>
			<h1><bean:message key="student.btn.updatestudent"/></h1>
			<html:form action="/manage/student" method="post" focus="name" 
				onsubmit="return validateTotal( this );">
			<html:hidden property="p" value="update"/>
			<html:hidden property="id" />
			<input type="hidden" name="classesid" value="<bean:write 
				name="classes" property="id" />" >
			<html:errors />
			<table>
				<tr>
					<td><bean:message key="studentForm.name"/></td>
					<td><html:text property="name" /></td>
				</tr>
				<tr>
					<td><bean:message key="studentForm.password"/></td>
					<td><html:password property="password" /></td>
				</tr>
				<tr>
					<td><bean:message key="studentForm.repassword"/></td>
					<td>
						<input type="password" name="repassword" 
							value="<bean:write name="studentForm" 
							property="password"/>"/>
					</td>
				</tr>
				<tr>
					<td><bean:message key="studentForm.fullname"/></td>
					<td><html:text property="fullname" /></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>
			<table border="0">
				<tr>
					<td>
						<a href="../logon.do?p=homepage">
							<bean:message key="btn.back" />
						</a>
					</td>
				</tr>
			</table>
			<p>&nbsp;<p>
			<img src="../images/student.gif" width="200">
		</center>
	</body>
</html>

⌨️ 快捷键说明

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