Using the Jakarta Commons, Part 1
Subject:   Help! I can't get it to work!
Date:   2006-06-21 10:22:34
From:   consultingbyrich

I can't get past the upload.parseRequest(request). I even replaced the original deprecated code with the code from this site but it bombs on the parseRequest (line 32; see stack below).

My code is:
(23) DiskFileItemFactory factory = new DiskFileItemFactory();
(27) ServletFileUpload upload = new ServletFileUpload(factory);
(32) List items = upload.parseRequest(request);

I really need to get this working quickly....
Thank you for your help,

java.lang.NoClassDefFoundError: org/apache/commons/io/FileCleaner at org.apache.commons.fileupload.disk.DiskFileItem.getTempFile( at org.apache.commons.fileupload.disk.DiskFileItem.getOutputStream( at org.apache.commons.fileupload.FileUploadBase.parseRequest( at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest( at _fileuploaddemo._jspService(fileuploaddemo.jsp:32) [SRC:/fileuploaddemo.jsp]

1 to 1 of 1
1 to 1 of 1