You copy the file to a new location in the action. It removes the file
after the action method is executed.
Session A Mwamufiya wrote:
How do I stop the FileUploadInterceptor from firing and deleting the files? Is
there a setting to put in struts.xml or web.xml?
I copied verbatim what there is in the showcase, and it's still not working.
--- Session A Mwamufiya wrote:
Yes the file is the right size; I tried it with different files to
upload, and the size seems correct.
*sigh*
Posting the only line of code that matters for your situation now. This is
from FileUploadInterceptor, after the action invocation, and is prefaced
by the following comment. I've deleted the loop that contains the following
line.
// cleanup currentFile.delete();
Do you see the issue?
d.
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]