• Post Reply Bookmark Topic Watch Topic
  • New Topic

Closed Stream reading from a servlet

 
Dennis Samuel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I create a connection to a servlet. This servlet has read data from somewhere else. I then get the inputSream from this servlet and assign it to a BufferedInputStream and try to read the data from this stream. I am able to read most of the data up until the last couple of bytes. I do a getAvailabe() on the stream and the bytes are available. When I try to read it I get a Stream Closed error.

This is happening on WLS 8.1 SP5. The app works correctly on WLS 8.1 SP5. Any thoughts?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!