jsp - Unbuffered JspWriter sends to PrintWriter, is that bufferred? -


JspWriter Docs says, "If there is no page buffer, then the output written to this JspWriter object will be written through PrintWriter."

directly .... But if the page is buffer, the buffer will not be made to the printwriters until then, Unless the buffer is flushed ".

PrintWriter Docs shows a flush () method, from which I think it is buffer somehow, even it seems that a buffered JspWriter is a buffered It seems weird to send data to PrintWriter. I'm new to this, so I think I should remember something here. What is this really happening?

Thanks.

All output squares The flush method in whatever does not buffer the class data if it does not.

The reason for this is that you get a PrintWriter both a buffer and unbf output. PrintWriter can not support flush () or both have not applied the method.


Comments