First page Back Continue Last page

Notes:


Unclear Signalling:
response.setHeader("Connection","close") is the servlet asking the container to close the connection for it.
response.setIntHeader("Content-length",1234) is the servlet telling the container how much content it will send.

What does response.setHeader("Transfer-encoding","gzip") mean?

Difficult combinations.
Cannot include a servlet that does encoding.
An included servlet must know about inclusion.
WriterOutputStream is required to avoid illegalStates