SmartUpload mySmartUpload = new SmartUpload();
mySmartUpload.initialize(this.getServlet().getServletConfig(), httpServletRequest,httpServletResponse);
mySmartUpload.upload();其中upload()出问题,调试代码后发现能得到readBytes,但是每次readBytes都是-1,造成死循环.
网上说要重造initialize方法,无效.
mySmartUpload.initialize(this.getServlet().getServletConfig(), httpServletRequest,httpServletResponse);
mySmartUpload.upload();其中upload()出问题,调试代码后发现能得到readBytes,但是每次readBytes都是-1,造成死循环.
网上说要重造initialize方法,无效.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货