📄 departmentupdate.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'department.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="admin/css/warehouse.css">
</head>
<body>
<form action="department.do?action=update?id=${requestScope.department.departmentId}" method="post">
<table border="1" width="1024" cellspacing="1" cellpadding="3" align="center" bordercolor="#326598">
<tr >
<td colspan="3" background="admin/images/admin_bg_1.gif" >
<div align="center"><font color="#FFFFFF"><b>修改部门信息</b></font></div>
</td>
</tr>
<tr align="center">
<td width="200"> </td>
<td width="300">带*为必填内容!</td>
<td width="400">备注</td>
</tr>
<tr>
<td>部门编号:</td>
<td><input type="text" name="departmentId" value="${requestScope.department.departmentId}"/>*</td>
<td> </td>
</tr>
<tr>
<td>部门名称:</td>
<td><input type="text" name="departmentName" value="${requestScope.department.departmentName}"/>*</td>
<td> </td>
</tr>
<tr>
<td>总经理:</td>
<td>
<select name="bmzzId">
<option>${requestScope.department.bmzz}
<c:forEach var="list" items="${list}">
<option value="${list.employeeId}">${list.employeeName}
</c:forEach>
</select>
</td>
<td>必须是本部门员工!</td>
</tr>
<tr>
<td>经理:</td>
<td>
<select name="bmzzId">
<option>${requestScope.department.bmjl}
<c:forEach var="list" items="${list}">
<option value="${list.employeeId}">${list.employeeName}
</c:forEach>
</select>
</td>
<td>必须是本部门员工!</td>
</tr>
<tr>
<td align="center" colspan="3"><input type="submit" value=" 提交 "/> <input type="reset" value=" 重置 "/></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -