資源簡(jiǎn)介
該壓縮包屬于java-web使用dropzone文件上傳插件進(jìn)行文件上傳的一個(gè)完整小測(cè)試項(xiàng)目,代碼簡(jiǎn)單易懂,而且寫(xiě)的非常詳細(xì),很適合小白/大白以之作為參考,項(xiàng)目里面已經(jīng)有dropzone.js以及dropzone.css了。

代碼片段和文件信息
package?upload.model;
import?java.io.Serializable;
public?class?UploadResult?implements?Serializable{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?7434128027715196787L;
private?String?fileName;?????//文件名稱
private?long?fileSize;???????//文件大小
private?String?physical_path;//文件上傳到服務(wù)器的物理路徑
private?String?server_path;??//文件上傳到服務(wù)器的服務(wù)器路徑,可訪問(wèn)的http://xxx.com/xxx.png
public?UploadResult()?{}
public?UploadResult(String?fileNamelong?fileSizeString?physical_pathString?server_path)?{
this.fileName?=?fileName;
this.fileSize?=?fileSize;
this.physical_path?=?physical_path;
this.server_path?=?server_path;
}
public?String?getFileName()?{
return?fileName;
}
public?void?setFileName(String?fileName)?{
this.fileName?=?fileName;
}
public?long?getFileSize()?{
return?fileSize;
}
public?void?setFileSize(long?fileSize)?{
this.fileSize?=?fileSize;
}
public?String?getPhysical_path()?{
return?physical_path;
}
public?void?setPhysical_path(String?physical_path)?{
this.physical_path?=?physical_path;
}
public?String?getServer_path()?{
return?server_path;
}
public?void?setServer_path(String?server_path)?{
this.server_path?=?server_path;
}
public?static?long?getSerialversionuid()?{
return?serialVersionUID;
}?
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????842??2019-01-28?10:45??upload\.classpath
?????文件????????906??2019-01-28?10:45??upload\.project
?????文件????????567??2019-01-28?10:45??upload\.settings\.jsdtscope
?????文件????????364??2019-01-28?10:45??upload\.settings\org.eclipse.jdt.core.prefs
?????文件????????470??2019-01-28?10:45??upload\.settings\org.eclipse.wst.common.component
?????文件????????345??2019-01-28?10:45??upload\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2019-01-28?10:45??upload\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2019-01-28?10:45??upload\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件???????1536??2019-02-21?11:34??upload\build\classes\upload\model\UploadResult.class
?????文件???????2261??2019-02-21?11:39??upload\build\classes\upload\util\sc
?????文件???????6358??2019-02-21?12:03??upload\build\classes\upload\util\Upload.class
?????文件???????1370??2019-02-21?11:33??upload\src\upload\model\UploadResult.java
?????文件???????1590??2019-02-21?11:39??upload\src\upload\util\sc
?????文件???????4578??2019-02-21?12:03??upload\src\upload\util\Upload.java
?????文件???????1628??2019-02-21?14:00??upload\WebContent\backend\upload.jsp
?????文件??????11698??2019-02-21?14:06??upload\WebContent\index.jsp
?????文件?????????39??2019-01-28?10:45??upload\WebContent\me
?????文件??????11107??2019-02-18?11:37??upload\WebContent\static\dropzone\dropzone.css
?????文件??????30557??2019-02-15?16:50??upload\WebContent\static\dropzone\dropzone.js
?????文件??????19007??2019-02-18?11:07??upload\WebContent\static\dropzone\spritemap.png
?????文件???????5566??2019-02-18?11:13??upload\WebContent\static\dropzone\upload.jpg
?????文件???????6537??2019-02-18?11:20??upload\WebContent\static\dropzone\upload2.jpg
?????文件???????3520??2019-02-18?11:37??upload\WebContent\static\dropzone\upload3.jpg
?????文件??????86927??2019-01-03?09:25??upload\WebContent\static\js\jquery-3.3.1.min.js
????.......????284184??2017-05-14?21:59??upload\WebContent\WEB-INF\lib\commons-codec-1.10.jar
?????文件??????69002??2019-01-28?10:46??upload\WebContent\WEB-INF\lib\commons-fileupload-1.3.1.jar
?????文件?????305001??2019-01-28?15:53??upload\WebContent\WEB-INF\lib\commons-httpclient-3.1.jar
?????文件?????214788??2018-03-13?16:31??upload\WebContent\WEB-INF\lib\commons-io-2.6.jar
????.......?????61829??2017-05-14?21:59??upload\WebContent\WEB-INF\lib\commons-logging-1.2.jar
?????文件?????241622??2018-07-25?11:50??upload\WebContent\WEB-INF\lib\gson-2.8.5.jar
............此處省略27個(gè)文件信息
評(píng)論
共有 條評(píng)論