RE: Re: Multiple File Upload using Struts (number of files dynamic)

2006-02-15 Thread kalpesh modi
I suggest you declare file list as List type. Keep the form in the session. When you click on the Add button, you increase the size of the List by one and display to the user with one extra empty browse . HTH. - Relax. Yahoo! Mail virus scanning

RE: Re: Multiple File Upload using Struts (number of files dynamic)

2006-02-15 Thread George.Dinwiddie
The way I do it is skip using the form for the files and retrieve them from the request. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of shubu > Sent: Tuesday, February 14, 2006 9:23 AM > To: user@struts.apache.org > Subject: Re: Multiple File Uplo

Re: Multiple File Upload using Struts (number of files dynamic)

2006-02-14 Thread shubu
Prasad, Kamakshya capitalservicing.co.jp> writes: > > Hi, > > In the form bean keep an array list of FormFile and use it similarly as > dynamic list control. > > KP > > -Original Message- > From: Viral_Thakkar [mailto:Viral_Thakkar infosys.com] > Sent: Thursday, July 08, 2004 3:01

RE: Multiple File Upload using Struts (number of files dynamic)

2004-07-09 Thread Prasad, Kamakshya
ssion KP -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 6:11 PM To: Struts Users Mailing List Subject: RE: Multiple File Upload using Struts (number of files dynamic) Can we add the attribute to the form bean class at runtime... if th

RE: Multiple File Upload using Struts (number of files dynamic)

2004-07-09 Thread Viral_Thakkar
) Sent: Friday, July 09, 2004 9:19 AM To: Struts Users Mailing List Cc: Ketan_Bhat Subject: RE: Multiple File Upload using Struts (number of files dynamic) HI, Try this one... Put it in your form bean private ArrayList formFiles = new ArrayList(); public void setTestFile(int iIndex, FormFile

RE: Multiple File Upload using Struts (number of files dynamic)

2004-07-08 Thread Prasad, Kamakshya
sday, July 08, 2004 5:40 PM To: Struts Users Mailing List Cc: Ketan_Bhat Subject: RE: Multiple File Upload using Struts (number of files dynamic) Thanks KP Could you please elaborate on this.. What I understood is that have an ArrayList of FormFile in the form bean class... now query is how this a

RE: Multiple File Upload using Struts (number of files dynamic)

2004-07-08 Thread Viral_Thakkar
control. Could you please provide code snippet of reference? Regards, Viral -Original Message- From: kamakshya_mishra(int) Sent: Thursday, July 08, 2004 12:01 PM To: Struts Users Mailing List Cc: Ketan_Bhat Subject: RE: Multiple File Upload using Struts (number of files dynamic) Hi, In the

RE: Multiple File Upload using Struts (number of files dynamic)

2004-07-07 Thread Prasad, Kamakshya
Hi, In the form bean keep an array list of FormFile and use it similarly as dynamic list control. KP -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 3:01 PM To: Struts Users Mailing List Cc: Ketan_Bhat Subject: Multiple File Upload using St