How To Deploy Maven Based War File To Tomcat

서버/Tomcat 2015. 3. 27. 18:27

http://www.mkyong.com/maven/how-to-deploy-maven-based-war-file-to-tomcat/



첨부파일 사이즈 확인 방법

자바스크립트 2015. 3. 3. 14:43
Input FileUpload files Property

01.var x = document.getElementById("myFile");
02.var txt = "";
03.if ('files' in x) {
04.    if (x.files.length == 0) {
05.        txt = "Select one or more files.";
06.    } else {
07.        for (var i = 0; i < x.files.length; i++) {
08.            txt += (i+1) + ". file";
09.            var file = x.files[i];
10.            if ('name' in file) {
11.                txt += "name: " + file.name;
12.            }
13.            if ('size' in file) {
14.                txt += "size: " + file.size + " bytes";
15.            }
16.        }
17.    }
18.}
19.document.getElementById ("demo").innerHTML = txt;


출처 : http://www.w3schools.com/jsref/prop_fileupload_files.asp



jQuery File Upload

자바스크립트/jQuery 2014. 11. 26. 16:54
소스받기 : https://blueimp.github.io/jQuery-File-Upload/
API문서  : https://github.com/blueimp/jQuery-File-Upload/wiki
Demo    : http://blueimp.github.io/jQuery-File-Upload/