You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2005/07/10 14:20:49 UTC
[Cocoon Wiki] Trivial Update of "FileUploadWithAction" by JohannesTextor
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.
The following page has been changed by JohannesTextor:
http://wiki.apache.org/cocoon/FileUploadWithAction
------------------------------------------------------------------------------
For concept and configuration information for file uploads see FileUploadsWithCocoon
- == Making it work on Cocoon 2.1 ==
+ === Making it work on Cocoon 2.1 ===
If you are using Cocoon >= 2.1, you'll have to change the following imports:
@@ -90, +90 @@
File file = ((PartOnDisk)filePart).getFile();
}}}
- Warning, this won't work if the servlet container stores the uploaded file in memory ({{PartInMemory}}) instead of creating a temporary file ({{PartOnDisk}}).
+ Warning, this won't work if the servlet container stores the uploaded file in memory ({{{PartInMemory}}}) instead of creating a temporary file ({{{PartOnDisk}}}).
'''Attachment:''' attachment:Database