You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/10 04:01:58 UTC

[Cocoon Wiki] Updated: FileUploadsWithCocoon

   Date: 2004-07-09T19:01:57
   Editor: JoergHeinicke <jo...@gmx.de>
   Wiki: Cocoon Wiki
   Page: FileUploadsWithCocoon
   URL: http://wiki.apache.org/cocoon/FileUploadsWithCocoon

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,4 +1,4 @@
-''This was written at a time between 2.0 and some critical refactoring in April 2003.  I'm reworking the document to reflect reality in each of the releases.  See [:FileUploadsWithCocoon2.1] or [:FileUploadsWithCocoon2.0]'' --GeoffHoward
+''This was written at a time between 2.0 and some critical refactoring in April 2003.  I'm reworking the document to reflect reality in each of the releases.  See [:FileUploadsWithCocoon2.1] or [:FileUploadsWithCocoon]'' --GeoffHoward
 ----
 To begin with, it may be startling for some to learn that file uploads are handled automatically by Cocoon in some (possibly default) configurations from '''any''' request.  What this means is that a form constructed to post a file to any Cocoon page will result in that file being saved automatically to disk.  Without this knowledge, the file upload sample shipping with Cocoon ([http://localhost:8080/cocoon/samples/xsp/upload here] in most installations) seems confusingly simple to some - the code in the xsp does not upload the file (nor does any action as some may suspect) but merely lists information about it..
 
@@ -13,7 +13,7 @@
 To configure the request factory, and therefore the handling of Multipart requests, use init-param "request-factory".  Options are (classes are all in the org.apache.cocoon.components.request package):
 ||'''Class name'''||'''Description'''||||
 ||!MultipartRequestFactoryImpl||This is the default factory.||
-||!MaybeUploadRequestFactoryImpl||You can opt in for this factory if maybeupload.jar is present. (what does that get you? MaybeUploadRequestFactory||
+||!MaybeUploadRequestFactoryImpl||You can opt in for this factory if maybeupload.jar is present. (what does that get you? !MaybeUploadRequestFactory||
 ||!SimpleRequestFactoryImpl||This factory does not allow uploads.||
 
 The last option will cause Cocoon to ignore all file uploads (a good idea for live sites not interested in file uploads).