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:54:22 AM:
> 
> > for (Enumeration en = fileCounter.elements(); en.hasMoreElements(); ) {
> > System.out.println("In action " + en.nextElement ());
> > System.out.println("The index is "+index);
> > try {
> > files[index] =(FormFile) en.nextElement();
> 
> Geeta
> 
>


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.nextElement ());
> System.out.println("The index is "+index);
> try {
> files[index] =(FormFile) en.nextElement();

Geeta