tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@apache.org>
Subject Re: Different results between TC3/TC4 with "HTC" (DHTML behavior) files and IE
Date Thu, 10 Jan 2002 14:33:15 GMT
> Hello,
>
> We've developed a web application that uses Dynamic HTML Behaviors (see
end
> of e-mail for details of what they are). These rely on ".htc" files on the
> server, which are basically simple static text-based files containing
DHTML
> scripts, which are mapped to tags by CSS.  These work fine with Tomcat
3.2.x
> and IE5+, but the exact same files under Tomcat 4 do nothing.
>
> It's quite a puzzling problem, and I hope some others on the list can help
> solve or at least explain what's going on.  It would seem that Tomcat is
> serving up the files OK in both versions (I've done some HTTP GET requests
> for the same file against TC3 & TC4, both seem ok).  However, when IE
> requests these same files, it only takes account of them when served by
TC3,
> not TC4.  Maybe it's a bug in IE, but I only get this problem when these
> files are requested from TC4.  When requesting these files from Apache,
IIS,
> Resin, or a load of other servers, I've never had any problems.
>
> What differences between TC3 & 4 could explain this problem, and how can I
> get around it?

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.

Remy


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message