Thank you! I was using a writer and switching to a ServletOutputStream fixed it. I never thought of that: the specs say streams are intended for binary data...
Richard > Richard Kaye wrote: >> Please could someone help me by posting a Hello-world >> servlet that serves a document with this Content-Type >> header? I have tried all the obvious things with no >> success... > > Are you using a writer? If so, try using the stream instead. > > Mark > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]