📄 add.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ include file="../hear/hear.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>部门增加</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script src="../js/oa.js"></script>
<style type="text/css">
<!--
.style1 {
font-size: 16px;
font-weight: bold;
}
.style2 {
color: #0060BF;
}
-->
</style>
</head>
<body bgcolor="#ECF1FF">
<table width="49%" height="25" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" height="23" colspan="6" align="center" background="../image/zs.gif" class="style1 advise"><strong>添加<strong>部门</strong></strong></td>
</tr>
</table>
<table width="49%" height="211" align="center" cellpadding="0" cellspacing="0">
<form name="form1" id="form1" method="post" action="add" onsubmit="return dep()">
<tr>
<td width="177" height="48" align="center" bgcolor="#FFFFFF" class="style2">部门名称:</td>
<td width="308" align="center" bgcolor="#FFFFFF">
<input name="name" type="text" size="22" maxlength="40" />
</td>
</tr>
<tr>
<td height="95" align="center" bgcolor="#FFFFFF" class="style2">部门描述:</td>
<td align="center" bgcolor="#FFFFFF"><div align="left">
<textarea name="explain" cols="40" rows="5"></textarea>
</div></td>
</tr>
<tr>
<td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
<div align="center">
<input type="submit" name="Submit" value="添加" />
<input type="reset" name="myreset" value="取消" />
</div></td>
</tr>
<tr>
<td colspan="2" align="center" valign="top">
<span class="advise">
<%
String daymsg=(String)session.getAttribute("depmsg");
if(daymsg!=null){
out.print(daymsg);
session.removeAttribute("depmsg");
}
%>
</span> </td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -