• 大小: 404KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-04
  • 标签: 文件上传  

资源简介

多文件上传,设计的一个界面,for jsp 使用,不要分,有用的就拿去用,无帮助页不要喷哈

资源截图

代码片段和文件信息

package servlet;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.io.PrintWriter;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.fileupload.FileItemIterator;
import org.apache.commons.fileupload.FileItemStream;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.commons.fileupload.util.Streams;

public class UploadFileServlet extends HttpServlet
  implement

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

     文件        526  2010-08-17 16:02  GooUploader\.classpath

     文件        306  2010-08-18 15:07  GooUploader\.mymetadata

     文件       1417  2010-08-17 16:09  GooUploader\.project

     文件       5141  2010-08-17 16:02  GooUploader\WebRoot\API.txt

     文件      44309  2010-08-17 16:02  GooUploader\WebRoot\bg_upload_btn.png

     文件       3708  2010-08-17 16:38  GooUploader\WebRoot\index.html

     文件      76962  2010-08-17 16:02  GooUploader\WebRoot\information.png

     文件      72988  2010-08-17 16:02  GooUploader\WebRoot\SWFUpload V2_2_0 说明文档.htm

     文件      12787  2010-08-17 16:02  GooUploader\WebRoot\swfupload.swf

     文件        813  2010-08-17 16:07  GooUploader\WebRoot\WEB-INF\web.xml

     文件      57779  2010-08-17 16:02  GooUploader\WebRoot\WEB-INF\lib\commons-fileupload-1.2.1.jar

     文件     109043  2010-08-17 16:02  GooUploader\WebRoot\WEB-INF\lib\commons-io-1.4.jar

     文件       3768  2010-08-18 15:07  GooUploader\WebRoot\WEB-INF\classes\servlet\UploadFileServlet.class

     文件         87  2010-08-17 16:02  GooUploader\WebRoot\meta-INF\context.xml

     文件         25  2010-08-17 16:02  GooUploader\WebRoot\meta-INF\MANIFEST.MF

     文件       4657  2010-08-17 16:02  GooUploader\WebRoot\codebase\GooUploader.css

     文件      13335  2010-08-17 16:04  GooUploader\WebRoot\codebase\GooUploader.js

     文件      57254  2010-08-17 16:02  GooUploader\WebRoot\codebase\jquery-1.3.2.min.js

     文件      38669  2010-08-17 16:02  GooUploader\WebRoot\codebase\swfupload\swfupload.js

     文件       3056  2010-08-17 16:02  GooUploader\WebRoot\codebase\swfupload\swfuploadbutton.swf

     文件        433  2010-08-17 16:02  GooUploader\WebRoot\codebase\img\bg_upload_btn.gif

     文件      44309  2010-08-17 16:02  GooUploader\WebRoot\codebase\img\bg_upload_btn.png

     文件       5006  2010-08-17 16:02  GooUploader\WebRoot\codebase\img\icon_upload_btn.gif

     文件      76962  2010-08-17 16:02  GooUploader\WebRoot\codebase\img\information.png

     文件       2616  2010-08-17 16:37  GooUploader\src\servlet\UploadFileServlet.java

     文件        500  2010-08-17 16:02  GooUploader\.settings\.jsdtscope

     文件        330  2010-08-17 16:02  GooUploader\.settings\org.eclipse.jdt.core.prefs

     文件         49  2010-08-17 16:02  GooUploader\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2010-08-17 16:02  GooUploader\.settings\org.eclipse.wst.jsdt.ui.superType.name

     目录          0  2010-08-18 17:51  GooUploader\WebRoot\WEB-INF\classes\servlet

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

评论

共有 条评论