eWebEditor V9.5 for JSP 简体中文版(GBK)(源码)
无序列号,仅用于开发测试使用。
注:在本机 http://localhost/ 或 http://127.0.0.1/ 开发测试访问时,不需要序列号,软件可以使用。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-03-06 01:36 ewebeditor
目录 0 2014-03-06 01:36 ewebeditoradmin
文件 860 2014-03-06 01:29 ewebeditoradmindefault.jsp
文件 4621 2014-03-06 01:29 ewebeditoradminlogin.jsp
文件 251 2014-03-06 01:29 ewebeditoradminmain.jsp
文件 2543 2014-03-06 01:29 ewebeditoradminmenu.jsp
文件 258 2014-03-06 01:29 ewebeditoradminmodilicense.jsp
文件 254 2014-03-06 01:29 ewebeditoradminmodipwd.jsp
文件 4134 2014-03-06 01:29 ewebeditoradminprivate.css
文件 20771 2014-03-06 01:29 ewebeditoradminprivate.js
文件 252 2014-03-06 01:29 ewebeditoradminstyle.jsp
文件 253 2014-03-06 01:29 ewebeditoradminupload.jsp
目录 0 2014-03-06 01:36 ewebeditordialog
文件 1764 2014-03-06 01:29 ewebeditordialogabout.htm
文件 5280 2014-03-06 01:29 ewebeditordialoganchor.htm
文件 53676 2014-03-06 01:29 ewebeditordialogart.htm
文件 12387 2014-03-06 01:29 ewebeditordialogackimage.htm
文件 1 2014-02-23 00:31 ewebeditordialoglank.htm
文件 31592 2014-03-06 01:29 ewebeditordialogrowse.htm
文件 10039 2014-03-06 01:29 ewebeditordialogdialog.htm
文件 31816 2014-03-06 01:29 ewebeditordialogdialog.js
文件 2654 2014-03-06 01:29 ewebeditordialogdialog_ie6.js
文件 3689 2014-03-06 01:29 ewebeditordialogemot.htm
文件 4122 2014-03-06 01:29 ewebeditordialogeq.htm
文件 5393 2014-03-06 01:29 ewebeditordialogfieldset.htm
文件 8538 2014-03-06 01:29 ewebeditordialogfile.htm
文件 6038 2014-03-06 01:29 ewebeditordialogfindreplace.htm
文件 6685 2014-03-06 01:29 ewebeditordialogfindreplacetext.htm
文件 20022 2014-03-06 01:29 ewebeditordialogflash.htm
文件 4692 2014-03-06 01:29 ewebeditordialoghr.htm
文件 6076 2014-03-06 01:29 ewebeditordialoghyperlink.htm
............此处省略57个文件信息
package com.jspsmart.upload;
import java.io.ByteArrayInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.servlet.ServletException;
public class File
{
private SmartUpload m_parent;
private int m_startData;
private int m_endData;
private int m_size;
private String m_fieldname;
private String m_filename;
private String m_fileExt;
private String m_filePathName;
private String m_contentType;
private String m_contentDisp;
private String m_typeMime;
private String m_subTypeMime;
//private String m_contentString;
private boolean m_isMissing;
public static final int SAVEAS_AUTO = 0;
public static final int SAVEAS_VIRTUAL = 1;
public static final int SAVEAS_PHYSICAL = 2;
File()
{
m_startData = 0;
m_endData = 0;
m_size = 0;
m_fieldname = ““;//new String(““);
m_filename = ““;//new String();
m_fileExt = ““;//new String();
m_filePathName = ““;//new String(““);
m_contentType = ““;//new String();
m_contentDisp = ““;//new String();
m_typeMime = ““;//new String();
m_subTypeMime = ““;//new String();
//m_contentString = ““;//new String();
m_isMissing = true;
}
public void saveAs(String s) throws IOExceptionSmartUploadException
{
saveAs(s0);
}
public void saveAs(String sint i) throws IOExceptionSmartUploadException
{
//Method invokes dubious new String() constructor; just use ““
//Creating a new java.lang.String object using the no-argument constructor wastes memory because the object so created will be functionally indistinguishable from the empty string constant ““.u00A0 Java guarantees that identical string constants will be represented by the same String object.u00A0 Therefore you should just use the empty string constant directly.
//String s1 = new String();
String s1 = ““;
s1 = m_parent.getPhysicalPath(si);
if(s1 == null)
{
throw new IllegalArgumentException(“There is no specified destination file (1140).“);
}
try
{
java.io.File file = new java.io.File(s1);
FileOutputStream fileoutputstream = new FileOutputStream(file);
fileoutputstream.write(m_parent.m_binArraym_startDatam_size);
fileoutputstream.close();
}
catch(IOException ioexception)
{
throw new SmartUploadException(“File can‘t be saved (1120).“);
}
}
public void fileToField(ResultSet resultsetString s) throws ServletExceptionIOExceptionSmartUploadExceptionSQLException
{
long l = 0L;
int i = 0x10000;
int j = 0;
int k = m_startData;
if(resultset ==
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-03-06 01:36 ewebeditor
目录 0 2014-03-06 01:36 ewebeditoradmin
文件 860 2014-03-06 01:29 ewebeditoradmindefault.jsp
文件 4621 2014-03-06 01:29 ewebeditoradminlogin.jsp
文件 251 2014-03-06 01:29 ewebeditoradminmain.jsp
文件 2543 2014-03-06 01:29 ewebeditoradminmenu.jsp
文件 258 2014-03-06 01:29 ewebeditoradminmodilicense.jsp
文件 254 2014-03-06 01:29 ewebeditoradminmodipwd.jsp
文件 4134 2014-03-06 01:29 ewebeditoradminprivate.css
文件 20771 2014-03-06 01:29 ewebeditoradminprivate.js
文件 252 2014-03-06 01:29 ewebeditoradminst
文件 253 2014-03-06 01:29 ewebeditoradminupload.jsp
目录 0 2014-03-06 01:36 ewebeditordialog
文件 1764 2014-03-06 01:29 ewebeditordialogabout.htm
文件 5280 2014-03-06 01:29 ewebeditordialoganchor.htm
文件 53676 2014-03-06 01:29 ewebeditordialogart.htm
文件 12387 2014-03-06 01:29 ewebeditordialogackimage.htm
文件 1 2014-02-23 00:31 ewebeditordialoglank.htm
文件 31592 2014-03-06 01:29 ewebeditordialogrowse.htm
文件 10039 2014-03-06 01:29 ewebeditordialogdialog.htm
文件 31816 2014-03-06 01:29 ewebeditordialogdialog.js
文件 2654 2014-03-06 01:29 ewebeditordialogdialog_ie6.js
文件 3689 2014-03-06 01:29 ewebeditordialogemot.htm
文件 4122 2014-03-06 01:29 ewebeditordialogeq.htm
文件 5393 2014-03-06 01:29 ewebeditordialogfieldset.htm
文件 8538 2014-03-06 01:29 ewebeditordialogfile.htm
文件 6038 2014-03-06 01:29 ewebeditordialogfindreplace.htm
文件 6685 2014-03-06 01:29 ewebeditordialogfindreplacetext.htm
文件 20022 2014-03-06 01:29 ewebeditordialogflash.htm
文件 4692 2014-03-06 01:29 ewebeditordialoghr.htm
文件 6076 2014-03-06 01:29 ewebeditordialoghyperli
............此处省略57个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)