FileManage.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:2k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.util.*,com.gforce.gfoa.*,com.gforce.currency.*" %>
- <%
- Session m_session = new Session(session);
- int intUserID = m_session.GetInt("UserID");
- Vector vt = FTPUserManager.getUserFTPData(intUserID);
- if(vt.size()==1)
- {
- String strFTPServer = SystemParament.getFTPServerAddress();
- %>
- <html>
- <head>
- <title>文件管理-- GForce OA 2.0</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="refresh" content="0;URL=ftp://<%=((Vector)vt.get(0)).get(0).toString() + ":" + ((Vector)vt.get(0)).get(1).toString() + "@" + strFTPServer + ":" + ((Vector)vt.get(0)).get(2).toString() +"/"%>">
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="middle">
- 正在进入文件管理器,请稍候...<br>如果您的浏览器不能自动进入请<a id="ftpserver" href="ftp://<%=((Vector)vt.get(0)).get(0).toString() + ":" + ((Vector)vt.get(0)).get(1).toString() + "@" + strFTPServer + ":" + ((Vector)vt.get(0)).get(2).toString() +"/"%>" target="_self">点击这里进入!</a>
- </td>
- </tr>
- </table>
- <script language="javascript">
- document.all.ftpserver.click();
- </script>
- </body>
- </html>
- <%
- }
- else
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("该记录不存在,可能已经被删除,链接失败!");
- window.close();
- </script>
- <%
- }
- %>