Add the following to your web.xml file:

    <!-- Add SVG as a mime type so that browsers can use the correct plug-in
-->
    <mime-mapping>
        <extension>
            svg
        </extension>
        <mime-type>
            image/svg-xml
        </mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>
            svgz
        </extension>
        <mime-type>
            image/svg-xml
        </mime-type>
    </mime-mapping>

Pete

-----Original Message-----
From: Matthias Zumstein [mailto:[EMAIL PROTECTED]]
Sent: 04 April 2001 14:58
To: [EMAIL PROTECTED]
Subject: How to use SVG-Files?


Hello,

I want to display SVG-Files but I only get the CDATA from the SVG-File. I
think I have to set up the web.xml but I don't know if I only have to change
this file or if I need another change?

Thank you

Matthias Zumstein

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Reply via email to