• 大小: 0.18M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-28
  • 语言: Java
  • 标签: 上传  实例  d  

资源简介

SWFUpload实现多实例上传及上传进度显示

资源截图

代码片段和文件信息

package com.fileupload;

import java.io.File;
import java.io.IOException;
import java.util.List;

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.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;

public class FileUploadServlet extends HttpServlet {
/**
 * 
 */
private static final long serialVersionUID = 1L;
public void doGet(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {
doPost(requestresponse);
}
pu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        526  2009-06-06 15:52  SwfUpload\.classpath

     文件        300  2014-01-13 10:00  SwfUpload\.mymetadata

     文件       1227  2009-06-06 14:31  SwfUpload\.project

     文件         88  2009-06-06 20:09  SwfUpload\.settings\org.eclipse.core.resources.prefs

     文件       2089  2014-01-17 15:44  SwfUpload\src\com\fileupload\FileUploadServlet.java

     文件       1613  2009-02-09 15:42  SwfUpload\WebRoot\css\button.css

     文件       4234  2009-06-06 22:12  SwfUpload\WebRoot\css\default.css

     文件       1900  2009-06-06 14:32  SwfUpload\WebRoot\images\error.gif

     文件       1389  2009-06-06 14:32  SwfUpload\WebRoot\images\SmallSpyGlassWithTransperancy_17x18.png

    ..A.SH.     20992  2009-06-06 15:57  SwfUpload\WebRoot\images\Thumbs.db

     文件       3882  2009-06-06 14:32  SwfUpload\WebRoot\images\toobig.gif

     文件       2419  2009-06-06 14:32  SwfUpload\WebRoot\images\uploadlimit.gif

     文件       2013  2009-06-06 14:32  SwfUpload\WebRoot\images\zerobyte.gif

     文件       3428  2014-01-17 15:39  SwfUpload\WebRoot\index.jsp

     文件       8490  2009-06-06 16:52  SwfUpload\WebRoot\js\swfupload\Copy of handlers.js

     文件      10729  2009-06-06 21:44  SwfUpload\WebRoot\js\swfupload\handlers.js

     文件      38671  2009-06-06 20:13  SwfUpload\WebRoot\js\swfupload\swfupload.js

     文件      12787  2009-06-06 14:21  SwfUpload\WebRoot\js\swfupload\swfupload.swf

     文件         39  2009-06-06 14:18  SwfUpload\WebRoot\meta-INF\MANIFEST.MF

     文件       3319  2014-01-17 15:44  SwfUpload\WebRoot\WEB-INF\classes\com\fileupload\FileUploadServlet.class

     文件      53082  2009-06-06 14:39  SwfUpload\WebRoot\WEB-INF\lib\commons-fileupload-1.2.jar

     文件      87776  2009-06-06 15:14  SwfUpload\WebRoot\WEB-INF\lib\commons-io-1.3.2.jar

     文件        682  2014-01-17 15:05  SwfUpload\WebRoot\WEB-INF\web.xml

     目录          0  2014-01-17 15:05  SwfUpload\WebRoot\WEB-INF\classes\com\fileupload

     目录          0  2014-01-17 15:05  SwfUpload\WebRoot\WEB-INF\classes\com

     目录          0  2009-06-06 14:38  SwfUpload\src\com\fileupload

     目录          0  2009-06-06 16:54  SwfUpload\WebRoot\js\swfupload

     目录          0  2014-01-15 16:43  SwfUpload\WebRoot\WEB-INF\classes

     目录          0  2009-06-06 15:14  SwfUpload\WebRoot\WEB-INF\lib

     目录          0  2014-01-17 15:05  SwfUpload\src\com

............此处省略13个文件信息

评论

共有 条评论