Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 26102 invoked from network); 13 Dec 2002 11:35:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Dec 2002 11:35:59 -0000 Received: (qmail 12677 invoked by uid 97); 13 Dec 2002 11:36:31 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 12507 invoked by uid 97); 13 Dec 2002 11:36:30 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 12440 invoked by uid 98); 13 Dec 2002 11:36:29 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <021401c2a28a$b5af3420$ad03a8c0@d2s.com> From: "Amit Badheka" To: "Struts Users Mailing List" Subject: multiple file upload Date: Fri, 13 Dec 2002 15:03:35 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0211_01C2A2B8.CF4F0620" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0211_01C2A2B8.CF4F0620 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My requirement is to upload some files, the no of files are not known as = the user can add no of files to be attched/uploaded. So, I have two options for doing that - 1. I create the file button dynamically with different name, but in this = case how can I add that parameter in form bean. 2. I can create file button in loop so it can be added as per = requirement. But, in this case the name of file button will be same. I would like to go for 2nd, as it looks easy to implement. But the = problem is that I am not sure if struts can handle such situation where = there are multiple file button with same name. Any help will be appreciable. Amit. ------=_NextPart_000_0211_01C2A2B8.CF4F0620--