title: How to prevent a servlet from buffering response content
body: <p>I have a servlet that writes bytes to its outputstream. The size of the content might be large. I want to prevent the servlet from doing any buffering. 
  What is the best way to prevent response buffering? I do not want to call flush() or close() on the ServletOutputStream myself as I assume the servlet container should do that for me.
  In that case, where do the bytes reside if the servlet calls flush() and close() and the httpclient hasn't yet read the bytes.</p>