Re: Multiple FormFile Uploads in Struts 1

2011-10-28 Thread JOSE L MARTINEZ-AVIAL
Oops, sorry, I didn't see you were asking for Struts1 2011/10/28 JOSE L MARTINEZ-AVIAL > In the JSP > > > > > > > > > 2011/10/28 JOSE L MARTINEZ-AVIAL > >> This works for me. >> >> private File fileToUpload[];// The actual file >> private String fileToUploadContentType[]; // The con

Re: Multiple FormFile Uploads in Struts 1

2011-10-28 Thread JOSE L MARTINEZ-AVIAL
In the JSP 2011/10/28 JOSE L MARTINEZ-AVIAL > This works for me. > > private File fileToUpload[];// The actual file > private String fileToUploadContentType[]; // The content type of the > file > private String fileToUploadFileName[]; // The uploaded file name > > public vo

Re: Multiple FormFile Uploads in Struts 1

2011-10-28 Thread JOSE L MARTINEZ-AVIAL
This works for me. private File fileToUpload[];// The actual file private String fileToUploadContentType[]; // The content type of the file private String fileToUploadFileName[]; // The uploaded file name public void setFiletoUpload(File upload[]) { this.fileToUpload = upl

Multiple FormFile Uploads in Struts 1

2011-10-28 Thread Sekar, Sowmya
Hi, Does anyone have a working solution of multiple formfile uploads? I declared the formfile as an arraylist and indexed the property in the jsp files. I also changed the setter and getter methods to take the index and formfile object. However, when I save the form, it throws "argument type mis