Hi,
From the
servlet API for ServletResponse, isCommitted() checks if a response has been committed (has already had its status code and headers written).
setContentType() has no effect if called after the response has been committed.
So when/how does headers (and/or status code) get written? Is that done both implicitly and explicitly? By the servlet container or programmer?
Thanks,
dz