Posts Tagged Java

JDeveloper and Firefox

We ran into a problem at work running JDeveloper (10g12) with Firefox (3) where the css files would not load properly.  The error in the error console of Firefox stated:

Error: The stylesheet http://comp.domain.org:5555/OA_HTML/xxwv2masterstyle-v8.css was not loaded because its MIME type, "application/octet-stream", is not "text/css".
Source File: http://comp.domain.org:5555/OA_HTML/ibeCZzpHome.jsp?intra=t&log=t
Line: 0

To fix this we simply added the following node to the web.xml file in WEB_INF:

<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>

You may also need to modify a mime-types file but we did not.

,

1 Comment