Env: JBoss 3.2.6 with default TC 5 jboss web
OS : Win2K Server
JDK: Sun 1.4.2_06-b03
when a client performs a HTTP PUT of 141 bytes , at the servlet level
i am only able to read 137 bytes out of the InputStream
below is a snippet of code.
InputStream is = req.getInputStream();
byte[] buf = new byte[1024];
int readBytes = 0;
int totalBytes = 0;
while ( (readBytes= is.read(buf)) != -1) {
totalBytes += readBytes;
}
is.close();
System.out.println( "bytes read " + totalBytes );
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860231#3860231
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860231
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user