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

var x = document.getElementById("myFile");
var txt = "";
if ('files' in x) {
    if (x.files.length == 0) {
        txt = "Select one or more files.";
    } else {
        for (var i = 0; i < x.files.length; i++) {
            txt += (i+1) + ". file";
            var file = x.files[i];
            if ('name' in file) {
                txt += "name: " + file.name;
            }
            if ('size' in file) {
                txt += "size: " + file.size + " bytes";
            }
        }
    }
} 
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/


: