Kattare Internet Hosting Home | Home | Services | Contact Us | Order Online! |   whitespace image
  Kattare I/S: View FAQ Answer

| Webmail | Forums | News | FAQ | Members Login |  

whitespace image
tail end of the Kattare logo Toll Free: (866) KATTARE -or- (877) KATTARE
Local: (541) 753-1079
keyboard image for php hosting, jsp hosting, servlet hosting, java hosting website
Better Business Bureau Online  
whitespace image

   

whitespace image
greenspace image for php hosting, jsp hosting, servlet hosting, java hosting website

Home

Hosting Services

Server Co-Location
Dedicated Server
Java Servlet Hosting
Website Hosting
WHOIS Lookup
Join Us Today!

Members

Member Forums
Documentation
Kattare F.A.Q.
Free Software
Members Section
News
Referral System
Spam Blocking
Webmail

Development

Programming
Website Design
Graphic Design

Company

About Us
Contact Us
Our Network
Page Us
Sites We Host
Terms of Service


whitespace image
Documentation

Kattare is dedicated to making your hosting experience as painless as possible. That means making as much help and documentation available as possible.

Quick Links
[Frequently Asked Questions]
[User Forums]
[Howto's]
Category
JSP-Java Servlets
Question

Last Modified: Nov 20, 2008

How do I add Microsoft Office 2007 support ( MIME types ) to Tomcat?
Answer
You will need to SSH into your server and using your favorite editor open up
~conf/web.xml

vi conf/web.xml

Locate the MIM mappings location near the bottom of the file and paste in
the following mappings.

<!-- Microsoft Office 2007 Mime Types -->
    <mime-mapping>
        <extension>docx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>docm</extension>
        <mime-type>application/vnd.ms-word.document.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>dotx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.template</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>dotm</extension>
        <mime-type>application/vnd.ms-word.template.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xlsx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xlsm</extension>
        <mime-type>application/vnd.ms-excel.sheet.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xltx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.template</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xltm</extension>
        <mime-type>application/vnd.ms-excel.template.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xlsb</extension>
        <mime-type>application/vnd.ms-excel.sheet.binary.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xlam</extension>
        <mime-type>application/vnd.ms-excel.addin.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>pptx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.presentation</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>pptm</extension>
        <mime-type>application/vnd.ms-powerpoint.presentation.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>ppsx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.slideshow</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>ppsm</extension>
        <mime-type>application/vnd.ms-powerpoint.slideshow.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>potx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.template</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>potm</extension>
        <mime-type>application/vnd.ms-powerpoint.template.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>ppam</extension>
        <mime-type>application/vnd.ms-powerpoint.addin.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>sldx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.slide</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>sldm</extension>
        <mime-type>application/vnd.ms-powerpoint.slide.macroEnabled.12</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>thmx</extension>
        <mime-type>application/vnd.ms-officetheme</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>onetoc</extension>
        <mime-type>application/onenote</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>onetoc2</extension>
        <mime-type>application/onenote</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>onetmp</extension>
        <mime-type>application/onenote</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>onepkg</extension>
        <mime-type>application/onenote</mime-type>
    </mime-mapping>

[FAQ Main] [Submit a Question]

[Back to Category "JSP-Java Servlets"]


whitespace image
green spacer Kattare Logo whitespace image
 
whitespace image
whitespace image