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,
>
> this copy is of type
>
>   javax.servlet.ServletInputStream.readLine()
>
> acquired by
>
>   HttpServletRequest.getInputStream();
>
> Would you agree that this is a good idea ?

Are you sure ?
There's a ServletIS.readLine(byte[] b, int off, int len) method, but no
readLine returning a String (that's in the BufferedReader).

SevletIS.readLine is not optimal already (I thought nobody would use
it). Maybe it would be a good idea to attempt to reimplement it eventually.

--
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.