webtier@glassfish.java.net

"No mime type could be found" is printed for the specified content type

From: <webtier_at_javadesktop.org>
Date: Thu, 22 Apr 2010 16:19:14 PDT

Hello,

Requesting resource from the default implementation of ResourceHandler with the specified content type like this:

resourceHandler.createResource("extended_classes.ecss", "css", "text/css")

is printing the following to console:

23.04.2010 2:03:53 com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file extended_classes.ecss. To resolve this, add a mime-type mapping to the applications web.xml.

I'm not sure this wasn't done intentionally, however it seems suspicious that implementation ignores the specified content type in some points.
Mojarra version 2.0.3 (SNAPSHOT 20100416).

Can you please clarify on this?
[Message sent by forum member 'nick_belaevski']

http://forums.java.net/jive/thread.jspa?messageID=398585