You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Link Qian (JIRA)" <ji...@apache.org> on 2012/12/02 11:09:58 UTC

[jira] [Updated] (WW-3924) refactor file upload framework

     [ https://issues.apache.org/jira/browse/WW-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Link Qian updated WW-3924:
--------------------------

    Attachment: fileupload-patch.txt

1, add fastupload dependency in struts core pom.xml
2, add struts.multipart.ngSupport configurable item
3, modify Dispatcher.wrapRequest(... ) mothod
4, modify Dispatcher.cleanUpRequest() method
5, add new classes, MultiPart.java, MultiPartHandler.java NgMultiPartRequestWrapper.java, FastUploadMultiPartHandler.java in package org.apache.struts2.dispatcher.multipart.ng
6, add a MultiPartHandler implementation config in struts-default.xml 
7. add testing.

                
> refactor file upload framework
> ------------------------------
>
>                 Key: WW-3924
>                 URL: https://issues.apache.org/jira/browse/WW-3924
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: "New" API, Integration
>    Affects Versions: 2.3.7
>         Environment: HTTP, RFC 1867, form-based upload.
>            Reporter: Link Qian
>              Labels: features, patch
>             Fix For: 2.3.8
>
>         Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file parsing model.
> 4, testing

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira