Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add your questions/answers here.

Wiki Markup
*Q:* I'm using a [DiskFileItemFactory] from [FileUpload] 1.2.1.  In the Resource Cleanup section of \[http://commons.apache.org/fileupload/using.html the User Guide\], the following code is shown:[BR]
        return new [DiskFileItemFactory](fileCleaningTracker,[BR]
                                       [DiskFileItemFactory].DEFAULT_SIZE_THRESHOLD,[BR]
                                       repository);[BR] This method doesn't actually exist (with the implied signature), so instead, I've done the following:[BR]
    [DiskFileItemFactory] factory = new [DiskFileItemFactory]();[BR]
    factory.setFileCleaningTracker(fileCleaningTracker);[BR]

Is this how it should be done now?

Q: I'm using FileUpload 1.1.1,when I use ServletFileUpload.isMultipartContent(request).This is said "Use the method on ServletFileUpload instead".But I can't find "isMultipartContent" method in ServletFileUpload........

...