On Mon, 15 Nov 2004 11:13:46 +0100, Morten Andersen <[EMAIL PROTECTED]> wrote: > I find it strange (and annoying) that DiskFileUpload returns zero items the > second time it is called on a request... Why is that?
If you're talking about calling FileUpload.parseRequest() more than once on the same request, the simple answer is that an input stream - such as that provided by the servlet container to the servlet - can only be consumed once. The first call will consume the stream, so there's nothing left to process on a second call. -- Martin Cooper > > Morten Andersen > Master of applied mathematics and computer science > Associate professor > > The Maersk Institute of Production technology at Southern Danish University > www.mip.sdu.dk > Campusvej 55 > DK-5230 Odense M > Denmark > +45 65 50 36 54 > +45 61 71 11 03 > Jabber id: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
