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

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

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

而试过IIS和Apache都没有问题

何解?
...全文
51 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
wsj 2003-02-03
  • 打赏
  • 举报
回复
還是十分感謝
春哥视角 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可以 )
春哥视角 2003-01-27
  • 打赏
  • 举报
回复
http://info.sybase.com/resolution/detail.stm?id_number=10899114
wsj 2003-01-27
  • 打赏
  • 举报
回复
好!
不过有URL吗?
谢谢
春哥视角 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

春哥视角 2003-01-27
  • 打赏
  • 举报
回复
不是你一个人遇到这个问题,SYSBASE网站上也有人问了。但好象没回音。

http://webforums.sybase.com/nntp/nd000080.nsf/8178b1c14b1e9b6b8525624f0062fe9f/a0251472ff66a4dd2c9014adfdcd26b3?OpenDocument

87,997

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧