• 大小: 0.42M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 语言: Java
  • 标签: 上传  文件  

资源简介

servlet 编写的文件

资源截图

代码片段和文件信息

package upload;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
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 java.util.Random;

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.Ser

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         834  2015-07-01 09:45  .classpath
     文件        1039  2015-07-01 09:45  .project
     目录           0  2015-07-01 09:46  .settings\
     文件         503  2015-07-01 09:45  .settings\.jsdtscope
     文件         364  2015-07-01 09:45  .settings\org.eclipse.jdt.core.prefs
     文件         472  2015-07-01 09:45  .settings\org.eclipse.wst.common.component
     文件         345  2015-07-01 09:45  .settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2015-07-01 09:45  .settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2015-07-01 09:45  .settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2015-07-01 09:46  build\
     目录           0  2015-07-01 09:46  build\classes\
     目录           0  2015-07-01 09:46  build\classes\upload\
     文件        5809  2015-07-01 09:45  build\classes\upload\UploadAction.class
     目录           0  2015-07-01 09:46  src\
     目录           0  2015-07-01 09:46  src\upload\
     文件        5919  2015-07-01 09:45  src\upload\UploadAction.java
     目录           0  2015-07-01 09:46  WebContent\
     目录           0  2015-07-01 09:46  WebContent\meta-INF\
     文件          39  2015-07-01 09:45  WebContent\meta-INF\MANIFEST.MF
     目录           0  2015-07-01 09:46  WebContent\publicity-1.0.0\
     文件        3249  2015-07-01 09:45  WebContent\publicity-1.0.0\demo.basic.html
     文件        3250  2015-07-01 09:45  WebContent\publicity-1.0.0\demo.drag.html
     文件        3262  2015-07-01 09:45  WebContent\publicity-1.0.0\demo.html
     文件        3249  2015-07-01 09:45  WebContent\publicity-1.0.0\demo.tailor.html
     文件      262285  2015-07-01 09:45  WebContent\publicity-1.0.0\jquery-1.7.2.js
     文件         349  2015-07-01 09:45  WebContent\publicity-1.0.0\readme.txt
     目录           0  2015-07-01 09:46  WebContent\publicity-1.0.0\zyupload\
     目录           0  2015-07-01 09:46  WebContent\publicity-1.0.0\zyupload\skins\
     目录           0  2015-07-01 09:46  WebContent\publicity-1.0.0\zyupload\skins\images\
     文件        3520  2015-07-01 09:45  WebContent\publicity-1.0.0\zyupload\skins\images\add_img.png
     文件        5981  2015-07-01 09:45  WebContent\publicity-1.0.0\zyupload\skins\images\bg.png
............此处省略37个文件信息

评论

共有 条评论