3 Replies Latest reply on Jun 17, 2009 10:02 AM by Oliver Ju

    Setting KML / KMZ Mime Types in JBoss 5.0

    Mike Duffy Newbie

      We are hosting our application on JBoss 5.0

      We have KML and KMX download files for Google Earth. Everything works fine when a user is using the Firefox browser; however, with Internet Explorer the KML files are downloaded into the web page as text/xml and the KMZ files are downloaded as zip files.

      Apparently, we need to set the appropriate mime types in JBoss. I am not sure where they go, but I think the values are:

      AddType application/vnd.google-earth.kml+xml kml
      AddType application/vnd.google-earth.kmz kmz

      A solution would be greatly appreciated.

      Mike