Guys please concentrate on the main issue !! I ask again:
When you set jsp servlet to process the css files by adding: <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.css</url-pattern> </servlet-mapping> The tomcat does not set the CSS file extension mime type to text/css. Although below line is set in localhost-config/web.xml <mime-mapping> <extension>css</extension> <mime-type>text/css</mime-type> </mime-mapping> When you manually set the content mime type <%@page contentType="text/css" %> every thing will work fine ~Regards, ~~Alireza Fattahi