|
Created an attachment (id=10690)
o.a.commons.fileupload.DeferredFileOutputStream used by o.a.struts.upload package. Created an attachment (id=10691)
Archive containing ServerFileItem.java, ServerFileItemFactory.java and ServerFileMultipartRequestHandler.java. I just attached to patch files. One for org.apache.commons.fileupload.DefaultFileItem.java and the
other for org.apache.commons.fileupload.DeferredFileOutputStream.java. The changes to DefaultFileItem enable subclassing while the change to DeferredFileOutputStream fixes what appears to be a bug according to the existing javadocs. I also attached a Java archive containing three new classes: ServerFileItem, ServerFileItemFactory and A better solution IMO is to make use a mechanism that "manages" temporary file space (FileManager).
Fixed in the 20041012 nightly build.
Instead of using File.deleteOnExit(), we now use the FileCleaner class from
Henri Yandell made changes - 16/May/06 09:38 AM
Henri Yandell made changes - 16/May/06 11:35 AM
Henri Yandell made changes - 16/May/06 12:28 PM
Henri Yandell made changes - 09/Mar/07 08:32 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
o.a.commons.fileupload.DefaultFileItm used by o.a.struts.upload package.