Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature ending

Remy Maucherat

2003-12-04

Replies:

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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.