• 全部
  • 问答

扩展名为.htc文件的问题!----之:Web Server相关

wsj 2003-01-27 03:34:36
.htc文件,
好像在sybase的EAServer,下不能正确给浏览器头信息
现象是造成,行为没有被绑定。

(直接在IE地址栏输入.htc会以文本打开)

而试过IIS和Apache都没有问题

何解?
...全文
10 点赞 收藏 7
写回复
7 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
wsj 2003-02-03
還是十分感謝
回复
photo123 2003-01-27
不好意思,俺没接触过,只是到sybase网站上搜了一把而已.

对不起.
回复
wsj 2003-01-27
You then need to add a servlet or jsp to build the web-xml

不太明白?
而且不建立何web-app,直接使用默认服务器站点,不行吗(我找不到“Mime Types tab”,新建的web-app可以 )
回复
photo123 2003-01-27
http://info.sybase.com/resolution/detail.stm?id_number=10899114
回复
wsj 2003-01-27
好!
不过有URL吗?
谢谢
回复
photo123 2003-01-27
找到了:

Problem Description:
Customer running EAServer 4.1.3 and cannot get Microsoft Internet Explorer .htc files to be served up in static html pages in Web Application inside EAServer.
Key Words: EA Server Web Application

Tip or Workaround:
Not Available

Resolution:
A web application needs to know about mime types that are not the standard ones and it also has to have a web-xml. To add a mime type to a web application in Jaguar use Jaguar Manager, highlighting the web app and then do a right mouse click , selecting Web App properties. Then select the Mime Types tab and add 'htc' as the extension and a type of 'text/plain'. You then need to add a servlet or jsp to build the web-xml before mime type will work for htc files.
Resolutions: 3rd party configuration parameter third party workaround

回复
photo123 2003-01-27
不是你一个人遇到这个问题,SYSBASE网站上也有人问了。但好象没回音。

http://webforums.sybase.com/nntp/nd000080.nsf/8178b1c14b1e9b6b8525624f0062fe9f/a0251472ff66a4dd2c9014adfdcd26b3?OpenDocument
回复
发帖
JavaScript
创建于2007-09-28

8.5w+

社区成员

Web 开发 JavaScript
申请成为版主
帖子事件
创建了帖子
2003-01-27 03:34
社区公告
暂无公告