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 by Jeff on August 4, 2009 - 8:05 am
It is also worth noting that if you are forced to use something as ancient as JDev 3.23 that you can edit your webtogo.ora file (located in the lib dir under your jdev install dir) and add the line (under the [MIMES] section)…
css=text/css