You could try to use a HashMap<String, File> instead of list and name the inputs imageFiles.small, imageFiles.big, etc. Not sure this is going to work, but you can give it a try!
Or you could create a bean with big/small/etc. members and use this instead of List<File> and name the inputs as explained above, or give each input a different name and have a separate member in the class for each if the list of image types is not dynamic...
OCJP 6 (93%)
Joined: Nov 08, 2009
The reason for using a list was to let struts2 auto magically populate the imageFilesFileName .. not sure how to get this to work with a HashMap .
subject: Struts2 multiple files upload with a twist