• 大小: 0.51M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 语言: Java
  • 标签: upload  

资源简介


资源截图

代码片段和文件信息

package com.syz.servlet;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.ProgressListener;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-19 23:03  z-upload\
     文件      231110  2016-07-07 12:55  z-upload.war
     文件        1006  2016-12-19 22:58  z-upload\.classpath
     目录           0  2016-12-19 23:03  z-upload\.idea\
     文件         686  2016-12-18 00:08  z-upload\.idea\compiler.xml
     目录           0  2016-12-18 00:08  z-upload\.idea\copyright\
     文件          76  2016-12-18 00:08  z-upload\.idea\copyright\profiles_settings.xml
     文件        1107  2016-12-18 01:08  z-upload\.idea\misc.xml
     文件         256  2016-12-18 00:38  z-upload\.idea\modules.xml
     文件       47862  2016-12-19 23:03  z-upload\.idea\workspace.xml
     文件        1041  2016-07-05 13:34  z-upload\.project
     目录           0  2016-07-07 11:16  z-upload\.settings\
     文件         567  2016-07-05 13:34  z-upload\.settings\.jsdtscope
     文件         364  2016-07-05 13:34  z-upload\.settings\org.eclipse.jdt.core.prefs
     文件         489  2016-07-05 13:34  z-upload\.settings\org.eclipse.wst.common.component
     文件         349  2016-07-05 13:34  z-upload\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2016-07-05 13:34  z-upload\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2016-07-05 13:34  z-upload\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2016-12-19 22:57  z-upload\lib\
     文件       70282  2016-05-23 16:47  z-upload\lib\commons-fileupload-1.3.2.jar
     目录           0  2016-07-07 11:16  z-upload\src\
     目录           0  2016-07-07 11:16  z-upload\src\com\
     目录           0  2016-07-07 11:16  z-upload\src\com\syz\
     目录           0  2016-07-07 11:16  z-upload\src\com\syz\servlet\
     文件       14009  2016-07-07 10:55  z-upload\src\com\syz\servlet\UploadService.java
     目录           0  2016-07-07 11:16  z-upload\WebContent\
     目录           0  2016-07-07 11:16  z-upload\WebContent\meta-INF\
     文件          39  2016-07-05 13:34  z-upload\WebContent\meta-INF\MANIFEST.MF
     目录           0  2016-12-19 23:11  z-upload\WebContent\upload\
     目录           0  2016-07-07 11:16  z-upload\WebContent\WEB-INF\
     目录           0  2016-07-07 11:16  z-upload\WebContent\WEB-INF\classes\
............此处省略11个文件信息

评论

共有 条评论