cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1325) [PATCH] commons-fileupload based multipart parser
Date Wed, 01 Mar 2006 06:56:43 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1325?page=all ]

David Crossley updated COCOON-1325:
-----------------------------------

    Bugzilla Id:   (was: 32102)
     Other Info: [Patch available]
    Description: 
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 ?)

  was:
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 ?)


> [PATCH] commons-fileupload based multipart parser
> -------------------------------------------------
>
>          Key: COCOON-1325
>          URL: http://issues.apache.org/jira/browse/COCOON-1325
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.1.8
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Jorg Heymans
>     Assignee: Cocoon Developers Team
>  Attachments: fileupload-using-commons.zip
>
> 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 ?)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message