`
- 浏览:
752254 次
-
文件名称:domain/config/mimemappings.properties
js=text/javascript
css=text/css
gif=image/gif
htm=text/html
html=text/html
jpeg=image/jpeg
jpg=image/jpeg
bmp=image/bmp
可在此文件中加入自已需要的内容。
个人觉得设置完后,Weblogic可能要重启一下。
从OTN上找到点儿文字,好像有点用:
问题:WebLogic Server Does Not Set MIME Content-Type
WebLogic Server does not set content-type for files with .js and .xml extensions.
To work around this issue, you have to configure these mime types in your environment using one of the following two methods:
Method 1
Add these mime types in the web.xml file of the ESB Web Application.
Method 2
Set the mime type for the entire domain in the config/mimemapping.properties file by performing the following steps:
Login to the WebLogic Server console at
http://hostname:port/console
Click Domain, then Configuration, and then Web Applications.
Search for the Mime parameter.
The value of this parameter shows the location of the mimemappings.properties file.
Create the mimemappings.properties file if the file is not present already.
Add the following entries in the mimemappings.properties file:
xml=text/xml
js=text/javascript
Restart
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
Weblogic中MIME的默认配置文件 文件名称:domain/config/mimemappings.properties 格式如下: js=text/javascript 个人觉得设置完后,Weblogic可能要重启一下。
Linux环境Weblogic超详细安装配置文档Linux Weblogic 超详细 安装配置
WebLogic 集群中SSL 配置说明。WebLogic 集群中SSL 配置说明
Weblogic 服务器的基本配置 Weblogic 服务器的基本配置 Weblogic 服务器的基本配置 Weblogic 服务器的基本配置
weblogic.xml配置详解,web服务器相关配置
Weblogic的安装与配置Weblogic的安装与配置Weblogic的安装与配置Weblogic的安装与配置Weblogic的安装与配置
weblogic.xml配置详解.txt
WebLogic 配置文件(config.xml)包含了大量很直观的与性能有关的参数,能通过配置环境与应用程序得到很好的优化。基于系统的需要调整这些参数不仅能改善单个点的性能,而且能提高整个应用程序性能的可衡量性。
文中包含了JDBC 数据源的详细配置和说参数的说明。并且有图作为参考。
Weblogic配置Oracle数据源,掌握Weblogic配置原理
weblogic下开发web项目时修改java文件不用重启的绿色方法,不用修改weblogic的配置文件、不用jar
weblogic8.1配置说明,别人的共享一下,免费的啊,呵呵嗬嗬嗬嗬
Weblogic 8.1中如何配置JDBC
weblogic12配置资料,绝对实用,本人实践总结的经验,学习weblogic必不可少的文档
Weblogic集群概念和配置 Domain Administrator Server Managed Server Machine Node Manager Cluster
weblogic连接池配置说明, weblogic8.1连接池配置及简单优化
WEBLOGIC应用及常用配置说明
weblogic,mq集成配置weblogic,mq集成配置weblogic,mq集成配置
weblogic配置文档weblogic配置文档weblogic配置文档weblogic配置文档
weblogic中的jdbc配置,非常详细的说明文档,中文