我下载了那个jspsmartupload.jar包,有五个源文件:File.java,Files.java,Request.java,SmartUpload.java,SmartUploadException.java,和三个页面:upfile.jsp,upload.html,uploadimage.jsp 我将源文件和页面放到了我的工程里,可是SmartUpload.java 这个文件有错,不知道怎末回事?
错误如下:
File file = new ^ File(s); The constructor File(String) is undefined
FileInputStream fileinputstream = new FileInputStream^(file); The constructor FileInputStream(String) is undefined
long l = file.length(); The method length() is undefined for the type file
大家帮忙看看这是怎么回事?如果帮我解决了给分啊
错误如下:
File file = new ^ File(s); The constructor File(String) is undefined
FileInputStream fileinputstream = new FileInputStream^(file); The constructor FileInputStream(String) is undefined
long l = file.length(); The method length() is undefined for the type file
大家帮忙看看这是怎么回事?如果帮我解决了给分啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货