fileEdit.jsp~21~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:2k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*,control.Textcontrol.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- 天津市河东区经济贸易委员会内部办公网
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h4>
- 文件信息修改
- </h4>
- <%
- String ud = (String)session.getAttribute("UD");
- String udid = (String)session.getAttribute("UDID");
- String un = (String)session.getAttribute("UN");
- String uid = (String)session.getAttribute("UID");
- String pp = (String)session.getAttribute("POPE");
- String login = (String)session.getAttribute("LOGIN");
- if(login!=null&&login.equals("OK")){
- String wid = request.getParameter("fn");
- DBConn dbc = new DBConn();
- String wsql = "select * from files where id ="+wid;
- String wen[][] = dbc.getArray(wsql);
- %>
- 修改文件名及文件说明
- <br />
- <form action="jsp1.jsp" method="POST">
- <table border="1" width="90%">
- <tr>
- <td>上传文件名</td>
- <td>
- <input type="text" name="wjm" size="20" value="<%=wen[0][1]%>">
- <input type="hidden" value="<%=wid%>" name="wid" />
- </td>
- </tr>
- <tr>
- <td>上传文件说明</td>
- <td>
- <textarea cols="50" rows="5" name="sm"><%=wen[0][4] %></textarea>
- </td>
- </tr>
- <tr>
- <td>上传类型</td>
- <td><%
- String a0 = "";
- String a1 = "";
- if(wen[0][7].equals("0")){
- a0 =" selected="selected"";
- }else{
- a1 =" selected="selected"";
- }
- %>
- <select name="ft">
- <option value="0" <%=a0%>>部门内</option>
- <option value="1" <%=a1%>>共享</option>
- </select>
- </td>
- </tr>
- <tr>
- <tr>
- <td colspan="2">
- <input type="submit" value="下一步"/>
- </td>
- </tr>
- <tr>
- <%
- }else{
- response.sendRedirect("userlogin.jsp");
- } %>
- </table>
- </form>
- </body>
- </html>