RE: FormFile arrays

2006-09-13 Thread Raghuveer
try nested tags for file object in jsp and array of formfile for getter and setters nested:file -Original Message- From: Jeremiah Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 6:23 AM To: Struts Users Mailing List Subject: Re: FormFile arrays David Grundberg

Re: FormFile arrays

2006-09-13 Thread Jeremiah Johnson
See the documentation on using indexed properties [1] for more details. L. [1] http://struts.apache.org/1.2.x/faqs/indexedprops.html This seems like it should work. I created two accessors to the form that had an index parameter. Struts could not locate the getter. I ended up creating a

Re: FormFile arrays

2006-09-12 Thread David Grundberg
You are right about the jakarta commons fileupload and struts, you can't use commons fileupload in an action, because struts have already taken care of the multi-part parsing. You do have the option to make a servlet and commons fileupload, where you will have total control of the form data.

Re: FormFile arrays

2006-09-12 Thread Laurie Harper
Jeremiah Johnson wrote: I would like to upload multiple files on a single web page by having multiple html:file elements. The exact number of these are different depending on the user who is using the application. So I want to store this in an array (FormFile[]) in order to have N number of

Re: FormFile arrays

2006-09-12 Thread Jeremiah Johnson
David Grundberg wrote: You are right about the jakarta commons fileupload and struts, you can't use commons fileupload in an action, because struts have already taken care of the multi-part parsing. You do have the option to make a servlet and commons fileupload, where you will have total