Re: multiple file upload iteration

2005-08-17 Thread Gordon Hu
OMG... That's it. So sorry for posting a dumb question :-) On 8/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think maybe you are executing "en.nextElement()" twice..? Once for your > logging and once inside your try block..? > > Gordon Hu <[EMAIL PROTECTED]> wrote on 08/17/2005 10

Re: multiple file upload iteration

2005-08-17 Thread GRamani
I think maybe you are executing "en.nextElement()" twice..? Once for your logging and once inside your try block..? Gordon Hu <[EMAIL PROTECTED]> wrote on 08/17/2005 10:54:22 AM: > for (Enumeration en = fileCounter.elements(); en.hasMoreElements(); ) { > System.out.println("In action " + en.next

multiple file upload iteration

2005-08-17 Thread Gordon Hu
All, I have created an actionForm and action to handle multiple file uploads. I want to save each file I uploaded to my local drive so I created a loop to do just that. Below is the code snippet. *** int numFilesUpload = 10;