This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Selecting Multiple Files For Upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Selecting Multiple Files For Upload" Watch "Selecting Multiple Files For Upload" New topic
Author

Selecting Multiple Files For Upload

Luke Shannon
Ranch Hand

Joined: Sep 30, 2004
Posts: 239
Hi;

Using apache.commons.FileUploader I have a nice little ap that allows clients to upload a pic to the server.

My problem is my clients never upload just one. Its usually between 10-40.

Right now I use a simple html form to select the file and call my upload servlet:



I could add multiple input tags, building the form dynamically based on the number of pics a client want to upload, but this would get cluttered very fast.

I'm sure someone has solved this problem. Should I embed an applet in the JSP to do this? Anyone have any tips?

Thanks,

Luke

ps: I posted this question in this section because the webpage containing this feature is generated by a JSP page.

[ May 12, 2005: Message edited by: Luke Shannon ]
[ May 12, 2005: Message edited by: Luke Shannon ]

Luke
SCJP
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

I posted this question in this section because the webpage containing this feature is generated by a JSP page.


I'm going to move this to the HTML forum because the fact that a JSP was used to generate the page is moot. Once it gets to the browser, it's an HTML page like any other, and there is no JSP mechansim that is applicable to this issue.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: Selecting Multiple Files For Upload
 
Similar Threads
multipart/form-data inputs
Unable to compile class for JSP
Selecting Multiple Files For Upload
Help me about html:select
required fields not populating