Wes,
I have read struts2 file upload framework and plugin guide about file upload.
It requires the plugin provides a java.IO.File object to interceptors. so in
the way, upload component has to use temporary file. it's not reasonable to
better performance.
Here are fast upload API usage and
Link,
I believe that what suggested by others is good way to go,
you can easily create a plugin using fastupload.
one of best feature of S2 is its flexibility to enhance and provide added
features using plugins.
Thanks
Umesh
On Sat, Nov 17, 2012 at 3:43 PM, Fastupload fastupl...@outlook.com
Umesh,
thanks for your reply! Based on current file upload framework to write a
plugin. it only support java.io.File, for example, the Action has to use File
object to access multipart data of HTTP request. why not we do access multipart
data directly and efficiently, in stead of temporary
On Nov 17, 2012, at 5:13 AM, Fastupload fastupl...@outlook.com wrote:
Here are fast upload API usage and performance
https://sourceforge.net/p/fastupload/wiki/Performance%20Comparison/
It seems odd that these measurements start at 1MB...is it at least as fast for
smaller files?
On Nov 17,
On Sat, Nov 17, 2012 at 4:14 AM, Fastupload fastupl...@outlook.com wrote:
Umesh,
thanks for your reply! Based on current file upload framework to write a
plugin. it only support java.io.File, for example, the Action has to use
File object to access multipart data of HTTP request. why not we
for everyone's edification:
what would be the interfaces that Umesh must implement to write a proper
Struts2 plugin?Any changes to the interceptor stack?
Which test criteria should Umesh consider to validate the new FileUpload plugin
plays well with the (new and improved) interceptor stack?
Martin,
I guess you mentioned me while it should be Link ;-)
Thanks
Umesh
On Sun, Nov 18, 2012 at 12:12 AM, Martin Gainty mgai...@hotmail.com wrote:
for everyone's edification:
what would be the interfaces that Umesh must implement to write a proper
Struts2 plugin?Any changes to the
since you DID provide valuable insight on plugin integration... i wanted to
make SURE you were contacted on these particularsforwarding to Link...
thks umesh,
Martin __
Place longwinded disclaimer here
Date: Sun, 18 Nov 2012 00:16:52 +0530
Martin,
Maybe there is a way to support any proposal for file upload component.
Struts2 framework defines an interface , only abstraction actions for access
multipart data, maybe named MultipartData. It should have the key methods,
isFile();
getHeaders();
getInputStream();
getString();
..