Hi, quick question on fileupload...
I have a gooogle web toolkit app that presents a UI to do the following:
1) Upload a file
2) Show a thumbnail of the upload after file has been uploaded
3) Repeat 1) and 2) if desired
4) Press Save -> Server takes files and puts them in final resting place
I c
Hi, it is my understanding from the commons-io javadoc, that if you create a
FileCleanerCleanup it will remove files in a directory once the reference to
the File is GC'd.
Given that, I'm using commons-fileupload, and I set the listener in web.xml
as:
org.apache.commons.fileupload.servlet.FileC
19, 2009 at 12:06 PM, Davis Ford
wrote:
> Hi, it is my understanding from the commons-io javadoc, that if you create
> a FileCleanerCleanup it will remove files in a directory once the reference
> to the File is GC'd.
>
> Given that, I'm using commons-fileupload, and I set
ar as soon
as I uploaded a new file).
Writing my own code to persist the files and then setting the
FileCleanerCleanup#track on them specifically solves all my problems.
Regards,
Davis
On Wed, Oct 21, 2009 at 1:08 AM, Martin Cooper wrote:
> On Tue, Oct 20, 2009 at 10:22 AM, Davis Ford