MIME types on the application server
When you open or download a file, the MIME type of a file is retrieved from the application server. Most application servers, including WebSphere® Application Server and Tomcat, are configured with default MIME types. Some common file formats are missing from the typical defaults for these application servers. If a MIME type is not set for a particular file extension, artifacts and attachments with that extension might open with the wrong program or might be saved with an incorrect file extension.
For example, if a Microsoft™ Word
document opens in the web browser as unreadable text, or if a .jar file
is downloaded as a file with a .zip extension,
the MIME types for these file extensions are not configured on the
application server. In the first case, configure the extensions .doc and .docx with
the MIME type application/msword
. In the second case,
configure the .jar extension with the MIME type application/x-jar
.
For more information about configuring MIME types on application servers that are used by Rational® Asset Manager, see Setting server MIME types for common file formats.
Refer to the online help for your application server for complete instructions on configuring MIME types.