📄 toupdate.jsp
字号:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>View Title</title>
</head>
<%
String context = request.getContextPath();
%>
<body>
<br/>
<br/>
<form action="<%=context%>/user.do" method="post">
<input type="hidden" name="mhd" value="doUpdate"/>
<input type="hidden" name="password" value="${user.password}"/>
<table width="31%" height="154" border="0" align="center">
<tr>
<td colspan="2"> <div align="center">
<h2>员工信息详细</h2>
</div></td>
</tr>
<tr>
<td width="29%"><div align="right">编号:</div></td>
<td width="71%"><input type="text" name="id" value="${user.id}" readonly="true"/></td>
</tr>
<tr>
<td><div align="right">用户名:</div></td>
<td><input type="text" name="username" value="${user.username}"/></td>
</tr>
<tr>
<td> </td>
<td><label>
<input type="Submit" name="update" value="Update" >
</label></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -