Register / Login
This week's giveaway is in the
We're giving away four copies of
Java EE 8 High Performance
and have Romain Manni-Bucau on-line!
Author and all-around good cowpoke
posted 10 years ago
byte b = new byte[req.getInputStream().available()];
That is a very common error - available() is NOT the same as the total length of the request body - try the content length header or read into an expandable buffer - like ByteArrayOutputStream.
Boost this thread!
Passing Files in Web Services
Visual Web JSF Navigation... Help!
Getting Exeption while calling web service from registry
Help regarding User-name Token
using slsb as a webservice