Got it working, thanks to a bit of hard work and the advice on this list...

In $TOMCAT_HOME/conf/web.xml, add the following mime-mapping:

  <mime-mapping>
    <extension>htc</extension>
    <mime-type>text/plain</mime-type>
  </mime-mapping>

Don't forget to restart tomcat afterwards obviously!

-Chris


> "chris brown" <[EMAIL PROTECTED]> on 01/10/2002 08:57:53 AM
>
> Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
>
> To:   "Tomcat Users List" <[EMAIL PROTECTED]>
> cc:
>
> Subject:  Re: Different results between TC3/TC4 with "HTC" (DHTML
behavior)
>       files and IE
>
> > I think you need to define a MIME type for htc in web.xml. I don't know
> what
> > it's supposed to be, though.
>
> There is no specified MIME type for HTC (I don't know why, it seems odd).
> This never stopped it working with previous versions of Tomcat or any
other
> server.  Does TC4 refuse to serve content without an associated MIME type?
> (I don't think so, as a GET request worked fine via Telnet).
>
> The MIME type for .htc files is "text/plain".
>
> Any other ideas?  Anyone know what I'm talking about and have any
> experience
> with HTC files?! (other users of HTCs).
>
> Thanks,
> Chris
>
> I hope this helps.
> Thanks.
> RS
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to