Re: processing of multipart request

2012-11-17 Thread Fastupload
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 pe

Re: processing of multipart request

2012-11-17 Thread Umesh Awasthi
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 wrote: > Wes, > > I hav

Re: processing of multipart request

2012-11-17 Thread Fastupload
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 fil

Re: processing of multipart request

2012-11-17 Thread Dale Newfield
On Nov 17, 2012, at 5:13 AM, Fastupload 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, 2012, at 7:14 AM, Fas

Re: processing of multipart request

2012-11-17 Thread Martin Cooper
On Sat, Nov 17, 2012 at 4:14 AM, Fastupload 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 do access > multi

RE: processing of multipart request

2012-11-17 Thread Martin Gainty
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? than

Re: processing of multipart request

2012-11-17 Thread Umesh Awasthi
Martin, I guess you mentioned me while it should be Link ;-) Thanks Umesh On Sun, Nov 18, 2012 at 12:12 AM, Martin Gainty wrote: > > 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? > W

RE: processing of multipart request

2012-11-17 Thread Martin Gainty
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 > Subjec

Re: processing of multipart request

2012-11-17 Thread Fastupload
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(); .. etc.