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