Here is the DefaultServlet patch which sets the content type header before
getOutputstream.
872a873,879
> if (contentType != null) {
> if (debug > 0)
> log("DefaultServlet.serveFile: contentType='" +
> contentType + "'");
> response.setContentType(contentType);
> }
>
991,997d997
< if (contentType != null) {
< if (debug > 0)
< log("DefaultServlet.serveFile: contentType='" +
< contentType + "'");
< response.setContentType(contentType);
< }
<
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]