-
Nov 30th, 2005, 02:01 PM
#1
How to Cleanup Multipart Files?
Hello.
I am using the CommonsMultipartResolver for file uploads. However, by default it seems the temporary files are never removed. What is the best practice for removing these?
I noticed there is a cleanupMultipart in the MultipartResolver class. Is this what I should be using? If so, is there a way to just add the cleanup to an interceptor in the afterCompletion method? Any tips on how to do this would be appreciated.
Thanks,
Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules