[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Setting KML / KMZ Mime Types in JBoss 5.0
mduffy
do-not-reply at jboss.com
Thu Apr 30 20:09:01 EDT 2009
Thx Peter.
This worked perfectly.
I added the following to the web.xml in /opt/jboss-5.0.0.GA/server/default/deployers/jbossweb.deployer
<mime-mapping>
kml
<mime-type>application/vnd.google-earth.kml+xml</mime-type>
</mime-mapping>
<mime-mapping>
kmz
<mime-type>application/vnd.google-earth.kmz kmz</mime-type>
</mime-mapping>
As a suggestion, I think this should be added to future releases of JBoss.
Mike
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227946#4227946
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227946
More information about the jboss-user
mailing list