<!--<html:file property="uploadFile1" size="25" οnchange="checkCsv1();"></html:file> -->
function checkCsv1(){
var filepath = document.getElementById("uploadFile1").value;
filepath=filepath.substring(filepath.lastIndexOf('.')+1,filepath.length);
if(filepath != 'csv') {
alert("只能上传CSV格式的图片");
document.getElementById("uploadFile1").outerHTML += '';
}
}