Kevin Unger wrote:
>
> Can someone please tell me what magic needs to be
> done to tell the tomcat server to follow links to .doc files
> correctly by returning the binary so that the browser can
> open or save it?
>
> -clueless in mime-type land
we found a bug in tomcat, where setHeader("Content-Type, "foo/bar") does
not work (it's alwasy text/html). response.setContentType does work,
though. if the tomcat http server is using that for setting outgoing
mime type, then every served document will be described as text/html.
jm.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html