在IE中打开visio文件乱码求助
我在IE中打开word和excel都可以正常显示,但打开.vsd文件就是乱码
web.xml文件配置如下:
<?xml version= "1.0 " encoding= "UTF-8 "?>
<web-app>
<mime-mapping>
<extension> xls </extension>
<mime-type> application/octet-stream </mime-type>
</mime-mapping>
<mime-mapping>
<extension> doc </extension>
<mime-type> application/msword </mime-type>
</mime-mapping>
<mime-mapping>
<extension> vsd </extension>
<mime-type> application/x-vsd </mime-type>
</mime-mapping>
</web-app>
中
<mime-mapping>
<extension> vsd </extension>
<mime-type> application/x-vsd </mime-type>
</mime-mapping>
中的 <mime-type> application/x-vsd </mime-type>
我换成application/vnd.visio也不行
jsp文件
<%@ page language= "java " pageEncoding= "GBK "
contentType= "text/html; charset=GBK "%>
<html>
<head>
<title> open </title>
<meta http-equiv= "content-type " content= "text/html;charset=GBK ">
</head>
<body>
<a href= "# " onclick= "document.location= 'file/dd.doc ' "> word </a>
<a href= "# " onclick= "document.location= 'file/vv.vsd ' "> vsd </a>
<a href= "# " onClick= "document.location= 'file/xx.xls ' "> excel </a>
</body>
</html>
请问各位有什么解决办法
------解决方案--------------------安装了visio,并且这个viso关联了这个后缀名了吗?