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 cl

RE: FormFile arrays

2006-09-13 Thread Raghuveer
try nested tags for file object in jsp and array of formfile for getter and setters mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 6:23 AM To: Struts Users Mailing List Subject: Re: FormFile arrays David Grundberg wrote: > You are right about the jakarta commons fileupload

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 contr

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 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 files uploa

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. I'