<intput type = file name= 'upload' id = 'upload' onlick= 'upload()'/> function upload(){ $.ajax({ url:'upload.action' ...succuss:function(result){$("div").html(result)}\}) upload(){InptustStream in = new FileptustStream ("")OutptustStream out = new FileOutptustStream("");// 读成字符串 返回给ajax} }
function upload(){
$.ajax({
url:'upload.action'
...succuss:function(result){$("div").html(result)}\})
upload(){InptustStream in = new FileptustStream ("")OutptustStream out = new FileOutptustStream("");//
读成字符串 返回给ajax}
}