struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <>
Subject Re: processing of multipart request
Date Mon, 12 Nov 2012 15:13:48 GMT
Another approach would be for you to take a look at our plugin API and
build a plugin for integrating your framework into a Struts 2 web-app.


On Mon, Nov 12, 2012 at 7:39 AM, Fastupload <> wrote:

> To who maybe concern,
> I just notice struts2 framework parses multipart/form-data requesting into
> a temporary file, and marshal a object for struts2 action
> regarding file input of multipart-form data request. also the framework
>  parses all files in request and then make a filter rule in
> And finally, framework clean temporary files
> after action is invoked.
> Following the processing, there are three disadvantages:
> 1, use temporary file makes low performance
> 2, redundancy operation --  clean up temporary file
> 3, struts action only supports class to represent a uploading
> file in multipart/form-data request.
> 4, filter all file after parsing has been done, the action may be prior to
> interceptors.
> Could you guys have a look into *fastupload* open source project in
> Right now it is the fastest
> form-based upload parsing component in java area. it makes a significant
> performance improvement and advance features, such as,
> 1, 2.x faster than Apache Commons FileUpload in stream method. certainly,
> it's 5.x faster than apache commons file upload in disk method.
> 2, filter boundaries with determining MIME and file name in advance.
> In fastupload-0.4.7 version, it has released some codes that work with
> struts2 framework, enable parsing files with it in struts2 framework.  To
> improve features of struts2 multipart/form-data request, Could you consider
> to integrate *fastupload* source code into struts2 framework.  incurring
> struts2 supports both *fastupload* and ASF commons file upload?
> best wishes,
> Link Qian
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message