?? modify.jsp
字號:
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<html>
<head>
<title>modify</title>
</head>
<body>
<h2 align="center">student modify</h2>
<hr>
<html:errors/>
<html:form action="/struts/day2/modify">
<table width="600" align="center" border="1" cellpadding="5" cellspacing="0">
<tr>
<td>username</td>
<td><html:text name="studentForm" property="userName" maxlength="15" size="16"/></td>
<td>password</td>
<td><html:password name="studentForm" property="password" maxlength="20"/></td>
</tr>
<tr>
<td>gender</td>
<td>
male<html:radio property="gender" name="studentForm" value="m"/>
female<html:radio property="gender" name="studentForm" value="f"/>
</td>
<td>province</td>
<td>
<html:select name="studentForm" property="province">
<html:optionsCollection name="studentForm" property="provinceList"/>
</html:select>
</td>
</tr>
<tr>
<td>hobbies</td>
<td colspan="3">
sleeping<html:multibox name="studentForm" property="hobbies" value="s"/>
eating<html:multibox name="studentForm" property="hobbies" value="e"/>
playing<html:multibox name="studentForm" property="hobbies" value="y"/>
</td>
</tr>
<tr>
<td valign="top">introduction</td>
<td colspan="3">
<html:textarea cols="80" rows="6" name="studentForm" property="introduction"/>
</td>
</tr>
</table>
<br>
<center>
<input type="submit" value="modify">
<input type="reset" value="reset">
</center>
</html:form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -