When Reading Post Data With request.getInputStream(), Using available() Is Not Proper Way To Allocate Buffer.
(Doc ID 2537533.1)
Last updated on DECEMBER 13, 2022
Applies to:Oracle WebLogic Server - Version 10.3.6 to 184.108.40.206.0
Information in this document applies to any platform.
When reading posted data with request.getInputStream() like following sample code,
It may miss to gain access to all of the stream buffer by repeatedly calling the method available().
having InputStream is = request.getInputStream();
Some cases, is.available() may return "0" before reading the whole of stream data.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document