Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.4 M1
-
Fix Version/s: 2.4 M2
-
Component/s: {Unused} Actions and URLs
-
Labels:None
-
Difficulty:Unknown
-
Similar issues:
Description
The following will be added to web.xml:
<!-- MS Office mime mappings. We add these to provide out-of-the-box support for downloading Office files as attachments. This is for convenience as this is normally a Servlet Container set up but some containers do not have these defined by default. For docx/ppt/xlsx this means they will be recognized by IE as zip files. See http://littletechthoughts.blogspot.com/2009/01/ie-changes-docx-xlsx-pptx-to-zip-while.html for more details. --> <mime-mapping> <extension>doc</extension> <mime-type>application/msword</mime-type> </mime-mapping> <mime-mapping> <extension>xls</extension> <mime-type>application/vnd.ms-excel</mime-type> </mime-mapping> <mime-mapping> <extension>ppt</extension> <mime-type>application/vnd.ms-powerpoint</mime-type> </mime-mapping> <mime-mapping> <extension>docx</extension> <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type> </mime-mapping> <mime-mapping> <extension>xlsx</extension> <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type> </mime-mapping> <mime-mapping> <extension>pptx</extension> <mime-type>application/vnd.openxmlformats-officedocument.presentationml.presentation</mime-type> </mime-mapping>