R�my,

this copy is of type

    javax.servlet.ServletInputStream.readLine()

acquired by

    HttpServletRequest.getInputStream();

Would you agree that this is a good idea ?

grisi

----- Original Message -----
From: Remy Maucherat <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 3:49 PM
Subject: Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature
ending


> Dirk Griesbach wrote:
>
> > R�my,
> >
> > I had a look into the sources. There it reads:
> >
> > class MultipartParser:
> >
> >>>>>>>>>>>>>"
> >
> >  do {
> >       String line = readLine();
> >       if (line == null) {
> >         throw new IOException("Corrupt form data: premature ending");
> > <----------------
> >       }
> > "<<<<<<<<<<<<<<
> > (:-)))))
> >
> > By which method should 'readLine()' be replaced to achieve best
performance
> > ?
>
> Yes, but what does this readLine method does and when is it called ?
> I was talking about request.getReader().readLine().
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> R�my Maucherat
> Senior Developer & Consultant
> JBoss Group (Europe) S�RL
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to