gxfiledown.jsp
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="java.sql.*,java.lang.*,officeol.mc.tools.*" %>
- <%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")){
- DBConn dbc = new DBConn();
- String udd = "select deparname,dnmd5 from deparment";
- String[][] bm = dbc.getArray(udd);
- if(bm == null){
- out.print("没有部门!");
- }else{
- out.print("请选择要部门:<br />");
- for(int i = 0; i < bm.length; i++){
- %>
- <a href="filedown2.jsp?bm=<%=bm[i][1] %>"><%=bm[i][0] %></a><br />
- <%
- }
- }
- }else{
- response.sendRedirect("userlogin.jsp");
- }
- %>
- </body>
- </html>