Multi-Purpose Internet Mail Extensions (MIME) mapping associates a file name extension with a data file type (text, audio, image). You use these properties to map a MIME type to a file name extension. MIME is only for WebLogic Server.
The MIME-mapping element in a web.xml file defines the mapping between a file name extension and a MIME type. When you create a doclinks\WEB-INF directory, you copy a web.xml file into the directory. If you have trouble viewing certain document file types in the directory, review these steps:
Your browser might not display some document types (such as CAD diagrams) without special plug-ins. If you have these documents, check with your vendor to find out which plug-ins you need and if you can download them. If necessary, install the plug-ins on each client computer that is used to view and print these attached documents.
The web.xml file contains a series of parameters for mapping MIME data types. These parameters correspond to various types of document applications. For example, there is a parameter for .doc documents that corresponds to Microsoft Word documents:
The <extension> value is doc. and the <mime-type> value is application/msword.
The web.xml file can accommodate most common file types. If you have other types of documents that do not open for viewing as attachements, edit this file as follows to map your data type:
To find the MIME type for an application:
For example, for PDF documents, the MIME type is application/pdf.