I am getting weird results when trying to get Tomcat to
serve pages that link to style sheets. Example link:

<head><title>Catalog Information</title>
<link rel="stylesheet"
href="http://localhost:8080/XmlBook/catalog/catalog.css"
type="text/css" media="screen" >
</head>
I tried adding
    <mime-mapping>
        <extension>
            css
        </extension>
        <mime-type>
            text/css
        </mime-type>
    </mime-mapping>
to the general web.xml in  tomcat/conf
following the style of the other mime-mapping entries
but I still don't seem to get the catalog.css served.

-- 
WBB - [EMAIL PROTECTED]  Chief Scientist, LANWrights, Inc.
Java Programmer Certification information and mock exam
at  http://www.lanw.com/java/javacert/

Reply via email to