java - FileTransfer DWR and input file MULTIPLE. Uploading files -


my problem: use dwr3 (filetransfer) upload files jsp without problem, want use file in multiple mode, is:

input type="file" multiple="multiple" name="... (html5) 

this avoid typical dialog searching files select more 1 file of client system. but, how catch them in server?

i attempt without success:

public string catchmultiplefiles(filetransfer[] files, httpservletrequest req) throws exception{ ...} public string catchmultiplefiles(arraylist<filetransfer> files, httpservletrequest req) throws exception{ ...} 

always older version catch 1 works perfectly, simply:

public string catchonefile(filetransfer file, httpservletrequest req) throws exception{ ...}  

anyone have problem?

thanks lot in advance.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -