• 大小: 1.85MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-07
  • 语言: Java
  • 标签: ueditor  EMO  SP版  

资源简介

手写的百度富文本demo,JSP版本,绝对不坑爹

资源截图

代码片段和文件信息

package ueditor;

import java.io.*;
import java.text.SimpleDateFormat;
import java.util.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.FileUploadbase.InvalidContentTypeException;
import org.apache.commons.fileupload.FileUploadbase.SizeLimitExceededException;
import org.apache.commons.fileupload.util.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.commons.fileupload.FileItemIterator;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;


import sun.misc.base64Decoder;
import javax.servlet.http.HttpServletRequest;
/**
 * UEditor文件上传辅助类
 *
 */
public class Uploader {
// 输出文件地址
private String url = ““;
// 上传文件名
private String fileName = ““;
// 状态
private String state = ““;
// 文件类型
private String

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-07-13 08:54  UeTest\
     文件         519  2013-07-13 08:53  UeTest\.classpath
     目录           0  2013-07-13 08:51  UeTest\.myeclipse\
     文件         291  2013-07-13 08:51  UeTest\.mymetadata
     文件        1224  2013-07-13 09:02  UeTest\.project
     目录           0  2013-07-13 08:54  UeTest\.settings\
     文件         174  2013-07-13 09:25  UeTest\.settings\org.eclipse.core.resources.prefs
     目录           0  2013-07-13 08:51  UeTest\src\
     目录           0  2013-07-13 08:52  UeTest\WebRoot\
     文件         768  2013-07-13 10:02  UeTest\WebRoot\index.jsp
     目录           0  2013-07-13 08:51  UeTest\WebRoot\meta-INF\
     文件          39  2013-07-13 08:51  UeTest\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2013-07-13 09:43  UeTest\WebRoot\ueditor\
     目录           0  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\
     目录           0  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\anchor\
     文件        1627  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\anchor\anchor.html
     目录           0  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\
     文件        2602  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\attachment.css
     文件        6241  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\attachment.html
     文件        6009  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\callbacks.js
     目录           0  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\
     文件         923  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_chm.gif
     文件         841  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_default.png
     文件        1012  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_doc.gif
     文件         949  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_exe.gif
     文件         986  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_mp3.gif
     文件        1001  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_mv.gif
     文件         996  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_pdf.gif
     文件        1001  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_ppt.gif
     文件        1009  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_psd.gif
     文件        1007  2013-07-13 09:24  UeTest\WebRoot\ueditor\dialogs\attachment\fileTypeImages\icon_rar.gif
............此处省略240个文件信息

评论

共有 条评论