jsp1.jsp
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
- <%@ 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>
- <%
- DBConn dbc = new DBConn();
- String ft = request.getParameter("ft");
- String wjm = request.getParameter("wjm");
- String sm = request.getParameter("sm");
- String wid = request.getParameter("wid");
- String usql = "update files set filename = '"+wjm
- +"',fileexplan='"+sm+"',filetype='"+ft+"' where id='"+wid+"'";
- int i = dbc.executeUpdate(usql);
- if(i==1){
- out.print("修改成功!");
- }
- %><br />
- <a href="filemanage.jsp">管理文件</a>
- </body>
- </html>