cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] FileUploadsWithCocoon2.1 FileUploadsWithCocoon Tue Sep 16 05:00:04 2003
Date Tue, 16 Sep 2003 03:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon2.1 , version: 2 on Tue
Sep 16 02:47:05 2003 by 67.21.159.90

- __Overview__\\
+ __Technical Overview__\\
+ ''If you are uninterested in the technical details, just skim this part.''
+ 
- Part is abstract, but has two concrete subclasses: [PartOnDisk|http://cocoon.apache.org/cocoon/2.1/apidocs/org/apache/cocoon/servlet/multipart/PartOnDisk.html]
and [PartInMemory|http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/servlet/multipart/PartInMemory.html]
which are the actual objects placed in the request as described above, depending on configuration
options to be described below.  PartOnDisk is a file already saved to disk and provides an
additional method getFile(), not defined in Part, which returns the java.io.File object for
the file on disk.  PartInMemory holds the contents of the uploaded file in a byte array in
memory.  Both PartOnDisk and PartInMemory are only temporary and will be cleaned up (deleted/dereferenced)
at the end of the request.  They will not persist after the request is serviced unless otherwise
acted upon.
?                                                                                        -------

+ Part is abstract, but has two concrete subclasses: [PartOnDisk|http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/servlet/multipart/PartOnDisk.html]
and [PartInMemory|http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/servlet/multipart/PartInMemory.html]
which are the actual objects placed in the request as described above, depending on configuration
options to be described below.  PartOnDisk is a file already saved to disk and provides an
additional method getFile(), not defined in Part, which returns the java.io.File object for
the file on disk.  PartInMemory holds the contents of the uploaded file in a byte array in
memory.  Both PartOnDisk and PartInMemory are only temporary and will be cleaned up (deleted/dereferenced)
at the end of the request.  They will not persist after the request is serviced unless otherwise
acted upon.
- |enable-uploads|false|"Turn on" upload handling in Cocoon|
+ |enable-uploads|false|"Turn on" upload handling in Cocoon.  As a convenience can also be
set from a local build property config.enable-uploads=true|


Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon , version: 19 on Tue Sep
16 02:11:42 2003 by 67.21.159.90

- ''This info may possibly be outdated due to the changes described in [FileUploadsWithFlow].''
 -- [TonyCollen]
+ ''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]



Mime
View raw message