deparmod.jsp~10~
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
  2. <%request.setCharacterEncoding("GBK"); %>
  3. <html>
  4. <head>
  5. <title>
  6. 天津市经贸委在线办公
  7. </title>
  8. </head>
  9. <body bgcolor="#ffffff">
  10. <h1>
  11. 部门修改
  12. </h1>
  13. <p>
  14.   <%
  15. String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
  16. out.print(message);
  17. String demd5 = request.getParameter("dpm");
  18. DBConn dbc = new DBConn();
  19. String dpsql = "select * from deparment where dnmd5 = '"+demd5+"'";
  20. String dep[][] = dbc.getArray(dpsql);
  21. %>
  22. </p>
  23. <form name="form1" method="post" action="deparModAction.do">
  24.   <table width="90%" border="1">
  25.     <tr>
  26.       <td>用户部门名</td>
  27.       <td><input type="text" name="textfield" value="<%=dep[0][1] %>"></td>
  28.       <td>&nbsp;</td>
  29.     </tr>
  30.     <tr>
  31.       <td>用户部门说明</td>
  32.       <td><textarea name="textarea"><%=dep[0][2] %></textarea></td>
  33.       <td>&nbsp;</td>
  34.     </tr>
  35.     <tr>
  36.       <td colspan="3"><input type="submit" name="Submit" value="提交"></td>
  37.     </tr>
  38.   </table>
  39. </form>
  40. <p>&nbsp;</p>
  41. </body>
  42. </html>