An alternative would be to have only one file upload button and hold the file information on a list. Once all the upload files have selected, the list can be confirmed... this looks better than having a long series of file upload buttons on the same page.. This approach is quite common in web-based email.
Roshan ----- Original Message ----- From: "Qingyi Gu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 2:27 AM Subject: Re: File Upload > Andy, > > Your suggestion is my current approach. But it seems customer asks more... > Sometime it's kind of painful. Anyway, thanks for your help. > > Qingyi > > > >From: Andy Engle <[EMAIL PROTECTED]> > >Reply-To: "A mailing list for discussion about Sun Microsystem's Java > > Servlet API Technology." <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: File Upload > >Date: Tue, 10 Jun 2003 11:19:49 -0700 > > > >You wrote: > > > > > Are there any ways I can select multiple files once in jsp for file > > > upload? > > > > > > The regular way can only pick up one. > > > <INPUT type="file" name="file" size="30"> > > > >Perhaps you could use multiple <input... file> tags, giving each of > >them a different name. Then, write your JSP or Servlet to handle each > >uploaded file based upon the different names you assigned in the input > >tags. > > > > > >Andy > > > >___________________________________________________________________________ > >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >of the message "signoff SERVLET-INTEREST". > > > >Archives: http://archives.java.sun.com/archives/servlet-interest.html > >Resources: http://java.sun.com/products/servlet/external-resources.html > >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html