Incidently, the fact that tomcat seems to remove any space
between the ; and charset in "mimetype; charset=..."
whereas apache seems to prefer to add one is an annoying
inconsistency that has blocked a much simpler workaround
for my difficulties (one that would have used text/xml).
No matter. My
Richard Kaye wrote:
> 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...
They do. They also say if you use a writer Tomcat must append a
charset to the Content-Type header.
Glad this
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 Cont
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
--