|
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>
|
|
|
|
|
|
|
|