cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32102] New: - [PATCH] commons-fileupload based multipart parser
Date Sun, 07 Nov 2004 13:56:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32102

[PATCH] commons-fileupload based multipart parser

           Summary: [PATCH] commons-fileupload based multipart parser
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: jh@domek.be


As discussed in [1], this patch replaces the current multipartparser with one
based on commons-fileupload. 

Note that this patch does not take prisoners and breaks the current way of
retrieving uploads. The abstract Part class, PartInMemory and PartOnDisk are not
necessary anymore because commons-fileupload transparently keeps the files in
memory or on disk based on a size threshold. The user just requests a byte[] or
inputstream from the file without actually knowing how/where the file is stored. 

The attached action is an example of how to use it.

Sorry for the formatting (is there a common cocoon eclipse formatting profile ?)

Mime
View raw message