You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by David Graff <ph...@mindspring.com> on 2002/01/13 20:00:05 UTC

[Bug 5827] - DataInputStream.readInt returns wrong values

I'm wondering about this...what is the default content type for data being
passed through a post via java's HTTP objects?
application/x-www-form-urlencoded is the default encoding type according to
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.3.  Could it be
possible to set the encoding type on the object to application/octet-stream
and then write the data in?


----- Original Message -----
From: <bu...@apache.org>
To: <to...@jakarta.apache.org>
Sent: Sunday, January 13, 2002 10:47
Subject: DO NOT REPLY [Bug 5827] - DataInputStream.readInt returns wrong
values


> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5827>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5827
>
> DataInputStream.readInt returns wrong values
>
> remm@apache.org changed:
>
>            What    |Removed                     |Added
> --------------------------------------------------------------------------
--
>            Severity|Major                       |Normal
>
>
>
> ------- Additional Comments From remm@apache.org  2002-01-13 07:47 -------
> I'm very sceptical about this bug report. Catalina does handle binaries
> correctly when doing block reads. I never used byte by byte reads, but
there has
> been fixes to this, and the coded looks correct (it includes the needed
&0xFF).
> Of course, I don't really know what DIS and DOS are doing.
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>