send.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
  2. <%@ include file="../hear/hear.jsp"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  7. <title>短消息发送</title>
  8. <link href="../css/style.css" rel="stylesheet" type="text/css" />
  9. <script src="../js/oa.js"></script>
  10. <style type="text/css">
  11. <!--
  12. .style1 {
  13. font-size: 16px;
  14. font-weight: bold;
  15. }
  16. -->
  17. </style>
  18. </head>
  19. <body bgcolor="#FFFFDF">
  20. <table width="780" height="25" align="center" cellpadding="0" cellspacing="0">
  21.   <tr>
  22.     <td width="72%" height="23" colspan="6" align="center" background="../KCM/zs.gif" class="style1 advise"><strong>发送短消息</strong></td>
  23.   </tr>
  24. </table>
  25. <table width="780" height="214" align="center" cellpadding="0" cellspacing="0">
  26. <form name="form1" id="form1" method="post" action="send" onsubmit="return info()">
  27.   <tr>
  28.     <td width="283" height="32" align="center" bgcolor="#FFFFFF"><span class="column">收信人序号:</span></td>
  29.     <!--单击回复后,自动将发信人的id号生成出来-->
  30. <td width="495" align="left" bgcolor="#FFFFFF"><input name="acceptid" type="text" value="<%
  31. String acceptid=(String)request.getParameter("acceptid");
  32. if(acceptid!=null){
  33. out.print(acceptid);
  34. }
  35. request.removeAttribute("acceptid");
  36. %>" size="36" /></td>
  37.     </tr>
  38.   <tr>
  39.     <td height="26" align="center" bgcolor="#FFFFFF" class="column">短消息标题:</td>
  40.     <td width="495" align="left" bgcolor="#FFFFFF"><input name="title" type="text" size="36" maxlength="40" /></td>
  41.   </tr>
  42.   <tr>
  43.     <td height="81" align="center" bgcolor="#FFFFFF" class="column">内&nbsp;&nbsp;&nbsp;容:</td>
  44.     <td align="left" bgcolor="#FFFFFF"><textarea name="content" cols="30" rows="5"></textarea></td>
  45.   </tr>
  46.   <tr>
  47.    <td bgcolor="#FFFFFF"></td>
  48.     <td height="40" colspan="3" align="center" bgcolor="#FFFFFF">
  49.       <div align="left">
  50.   <input type="submit" name="Submit" value="发送" />
  51. &nbsp;&nbsp;&nbsp;
  52.   <input type="reset" name="myreset" value="取消"/>
  53.       </div></td>
  54.   </tr>
  55.   <tr>
  56.     <td colspan="3" align="center" valign="top">
  57.     <span class="advise">
  58.     <% 
  59. String daymsg=(String)request.getAttribute("msg");
  60. if(daymsg!=null){
  61. out.print(daymsg);
  62. request.removeAttribute("msg");
  63. }
  64. %>
  65.     </span> &nbsp;</td>
  66.   </tr>
  67. </form>
  68. </table>
  69. </body>
  70. </html>