This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I think I have seen a web page display part of the html response while the server is still returning information. Is there a way of coding your servlet so that for a given page part of the html response can be displayed before the servlet is done writting to the output stream?
At any point, you can do a out.flush() - that should send any characters currently in the output buffer. Of course, whether or not the browser display will show any activity depends on the browser and the HTML you are sending. I think a plain <p> paragraph will get displayed but if you are building a table the browser may wait until the table is finished to show it. Bill