deparmod.jsp~12~
上传用户: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. System.out.print(depsql);
  21. String dep[][] = dbc.getArray(dpsql);
  22. %>
  23. </p>
  24. <form name="form1" method="post" action="deparModAction.do">
  25.   <table width="90%" border="1">
  26.     <tr>
  27.       <td>用户部门名</td>
  28.       <td><input type="text" name="textfield" value="<%=dep[0][1] %>"></td>
  29.       <td>&nbsp;</td>
  30.     </tr>
  31.     <tr>
  32.       <td>用户部门说明</td>
  33.       <td><textarea name="textarea"><%=dep[0][2] %></textarea></td>
  34.       <td>&nbsp;</td>
  35.     </tr>
  36.     <tr>
  37.       <td colspan="3"><input type="submit" name="Submit" value="提交"></td>
  38.     </tr>
  39.   </table>
  40. </form>
  41. <p>&nbsp;</p>
  42. </body>
  43. </html>