aspose file tools*
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
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: 61654
    
  67

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Selecting Multiple Files For Upload