?? personfiledownload.jsp
字號:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString,com.jspsmart.upload.*"%>
<%
oa.bean.PersonFileBean myFileBean1 = null;
try{
myFileBean1 = new oa.bean.PersonFileBean();
//數據處理過程
DealString ds1 = new DealString();
//取得職工號
String strPersonNo1 = ds1.toString((String)session.getAttribute("zgbh"));
//String strPersonNo1 = ds1.toString((String)request.getParameter("txt_personno"));
//取得命令動詞
String strCMD1 = ds1.toString((String)request.getParameter("txt_cmd"));
//取得文件根號
String strParentID1 = ds1.toString((String)request.getParameter("txt_parentID"));
if (strParentID1.equals("")) strParentID1="0";//根文件夾
//取得文件號
String strFileID1 = ds1.toString((String)request.getParameter("txt_fileID"));
if (strFileID1.equals("")) strFileID1="0";//根文件夾
String args1="txt_personno="+strPersonNo1+"&txt_parentID="+strParentID1+"&txt_fileID="+strFileID1;
// myFileBean1.setDepartID(strDepartID1);
// myFileBean1.setParentID(strParentID1);
// myFileBean1.setFileID(strFileID1);
// myFileBean1.ClearDownCache();
// String strDownPath=myFileBean1.getDownloadFilePrepared();
response.sendRedirect("../../downloadservlet?type=3&txt_fileID="+strFileID1+"&txt_personno="+strPersonNo1);
%>
<%}finally{
if(myFileBean1!=null)myFileBean1.closeConn();}
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -