已采纳回答 / David
                                
                                                            //IE高版本兼容性提高,不允许直接获取文件路径,可使用下面代码替换下$("#myfile").change(function(){    //$("#previewImg").attr("src","file:///" + $("#myfile").val());    var pv = document.getElementById("previewImg");       // IE5.5~9使用滤镜       if (pv.filters && typeof(pv.filters...
                            
                        
                        2015-01-19
                
            
                                已采纳回答 / David
                                
                                                            $("#largeImg").attr({     src : largePath,     alt : largeAlt    });请注意“attr”的大小写,你写为“Attr”了。
                            
                        
                        2015-01-17
                
            
                                讲师回答 / David
                                
                                                            我刚登陆了下 http://www.smartupload.com 网站,貌似这个组件现在已经收费了,百度一下很多网站提供这个jar的下载,或者你可以下载本节视频代码,里面就有这个jar。smartupload目前项目中相对于commons-fileupload用的少的多,不如多研究下commons-fileupload组件。
                            
                        
                        2015-01-16
                
            老师,RandomAccessFile randomFile=new RandomAccessFile(tempFile,"r");这个r是什么意思呢,为什么这样写呢?
                
                    
                    2015-01-16
                
            同样的代码啊,为什么我的打印结果是:fileName:Content-Disposition: form-data; name="myfile"; filename="test.txt?
                
                    
                    2015-01-16
                
             
             
        









