I have map a s:file tag with a object in a list, generally s:file is mapped to Action class but in our case we have to attach multiple file to object which is in a List in Action class.
Action class is like this:
Following is the jsp code:
If we place s:file tag out side iterator and put the file, filename, contentType attributes at action class then its working fine but
when we place s:file tag inside iterator and put file, filename, contentType attributes at class data level then we are not getting any data when form is submitted.
Could someone please help how can we do this, its our requirement to put the file attributes at class data level. as there can be any number of objects of data in Action class and user can upload any number of files on data level.
Thanks in advance
subject: Map s: file tag inside s:iterator with object in a list in action class