📄 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="56%" height="25" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="82%" height="24" colspan="6" align="center" background="../image/zs.gif" class="advise style1">发布公告</td>
</tr>
</table>
<table width="56%" height="196" align="center" cellpadding="0" cellspacing="0">
<form name="form1" id="form1" method="post" action="add" onsubmit="return affice()">
<tr>
<td width="124" height="35" align="center" bgcolor="#FFFFFF" class="style2">公告标题:</td>
<td width="437" align="center" bgcolor="#FFFFFF"><div align="left">
<input name="title" type="text" size="40" maxlength="40" />
</div></td>
</tr>
<tr>
<td height="122" align="center" bgcolor="#FFFFFF" class="style2">具体公告:</td>
<td align="center" bgcolor="#FFFFFF"><div align="left">
<textarea name="content" cols="40" rows="6"></textarea>
</div></td>
</tr>
<tr>
<td height="21" colspan="2" align="center"><input type="submit" name="Submit" value="发布" />
<input type="reset" name="myreset" value="取消"/></td>
</tr>
<tr>
<td colspan="2" align="center" valign="top">
<span class="advise">
<%
String daymsg=(String)request.getAttribute("msg");
if(daymsg!=null){
out.print(daymsg);
request.removeAttribute("msg");
}
%>
</span> </td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -