我下载了那个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
 大家帮忙看看这是怎么回事?如果帮我解决了给分啊