DOC, and PPT Files Served as Text Files (WebSphere Application Server z/OS v4.0.1)
 Technote (FAQ)
 
Problem
Despite being coded in the default_mimetype.properties as not being text files (or more specifically, requiring an application to open them), DOC, and PPT files may still be displayed by Internet Explorer as text files (shown as garbled at the browser).
 
 
Solution
This problem is not displayed in either a Mozilla browser, or Netscape. There are two circumventions for this issue:
  • In the IE browser experiencing the problem, check the following option: Tools/Internet Options/Advanced - Show friendly HTTP error messages
  • In the applications web.xml, code a mime-mapping tag for both the DOC file types and PPT file types.

Below is an example (using DOC files types) of the mime-mapping tag to put in the web.xml:

<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>

 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS > Plug-in
Operating system(s): z/OS
Software version: 4.0.1
Software edition:
Reference #: 1173450
IBM Group: Software Group
Modified date: Jul 1, 2004