转自 http://ugibb510.iteye.com/blog/1483269
tomcat上使用,与原文出处在于<mime-type>标签内容
<mime-mapping> <extension>docx</extension> <mime-type>vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type></mime-mapping><mime-mapping> <extension>xlsx</extension> <mime-type>vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type></mime-mapping><mime-mapping> <extension>pptx</extension> <mime-type>vnd.openxmlformats-officedocument.presentationml.presentation</mime-type></mime-mapping>