📄 studentmodify2.jsp
字号:
<html>
<head>
<title>student modify2</title>
</head>
<body>
<h2 align="center">student modify2</h2>
<hr>
<form method="get" action="<%=request.getContextPath()%>/servlet/day2/params">
<table width="600" align="center" border="1" cellpadding="5" cellspacing="0">
<tr>
<td>username</td>
<td><input name="userName" type="text" maxlength="15" size="16" value="${student.userName}"></td>
<td>password</td>
<td><input name="password" type="password" maxlength="20" value="${student.password}"></td>
</tr>
<tr>
<td>gender</td>
<td>
male<input type="radio" name="gender" value="m" ${student.gender == "m" ? "checked" : ""}>
female<input type="radio" name="gender" value="f" ${student.gender == "f" ? "checked" : ""}>
</td>
<td>province</td>
<td>
<select name="province">
<option value="110000" ${student.province == "110000" ? "selected" : ""}>beijing</option>
<option value="120000" ${student.province == "120000" ? "selected" : ""}>jilin</option>
<option value="130000" ${student.province == "130000" ? "selected" : ""}>shanghai</option>
</select>
</td>
</tr>
<tr>
<td>hobbies</td>
<td colspan="3">
sleeping<input type="checkbox" name="hobbies" value="s" >
eating<input type="checkbox" name="hobbies" value="e" >
playing<input type="checkbox" name="hobbies" value="y" >
</td>
</tr>
<tr>
<td valign="top">introduction</td>
<td colspan="3">
<textarea cols="80" rows="6" name="introduction">${student.introduction}</textarea>
</td>
</tr>
</table>
<br>
<center>
<input type="submit" value="modify">
<input type="reset" value="reset">
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -