📄 student_update.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>
<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> <p>
<img src="../images/student.gif" width="200">
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -