我写的这段代码,“<a href="file://10.10.111.4/FileServer" target="_blank">文件共享</a>”,很简单,就是打开10.10.111.4上的一个共享文件夹,用运行可以打开,写在html里面也可以打开,但是写在JSP里面部署之后怎么也打不开这个文件夹,在浏览器左下方的地址也是对的,如图:想请教一下是什么原因导致的,代码如下:
<div id="head" style="text-align: right;border: solid 0px; ">
<font style="margin-right: 10px;color: blue;">
<a href="file://10.10.111.4/FileServer" target="_blank">文件共享</a> |
<a href="http://10.10.111.5:8080/icacApp/pages/reports/yellowPage.jsp" target="_blank">企业黄页</a> |
<a href="http://10.10.111.5:8080/icacApp/login.action" target="_blank">OA报表系统</a> |
<a href="http://10.10.111.4:8080/MESwell/start.jnlp" target="_blank">MES</a> |
<a href="http://10.10.111.4" target="_blank">BBS</a> |
<a href="javascript:window.external.addFavorite('http://localhost:8091/IMECAS_WEB/', '中科院微电子研究所集成电路先导工艺研发中心');">收藏本站</a> | <a href="<%=basePath+"/imecas/eng/index.jsp"%>">English</a> | <a href="#">中文</a> </font>
<br><br>
<%
WebsiteUser sessionUser = (WebsiteUser)request.getSession().getAttribute("loginUser");
if(sessionUser==null){
%>
[<a href="imecas/userRegist.jsp" style="color: blue;">用户注册</a>] [<a href="<%=basePath+"/"+currentTime+ClientControlServlet.MENU+"-6-170.html"%>" style="color: blue;">登陆</a>]
<%
}else{
%>
[<a href="<%=basePath %>imecas/userInfo.jsp" style="color: blue;">欢迎你:<%=sessionUser.getRealName()%></a>] [<a href="<%=basePath%>?ac=out" style="color: blue;"> 注销 </a>]
<%} %>
</div>
<div id="head" style="text-align: right;border: solid 0px; ">
<font style="margin-right: 10px;color: blue;">
<a href="file://10.10.111.4/FileServer" target="_blank">文件共享</a> |
<a href="http://10.10.111.5:8080/icacApp/pages/reports/yellowPage.jsp" target="_blank">企业黄页</a> |
<a href="http://10.10.111.5:8080/icacApp/login.action" target="_blank">OA报表系统</a> |
<a href="http://10.10.111.4:8080/MESwell/start.jnlp" target="_blank">MES</a> |
<a href="http://10.10.111.4" target="_blank">BBS</a> |
<a href="javascript:window.external.addFavorite('http://localhost:8091/IMECAS_WEB/', '中科院微电子研究所集成电路先导工艺研发中心');">收藏本站</a> | <a href="<%=basePath+"/imecas/eng/index.jsp"%>">English</a> | <a href="#">中文</a> </font>
<br><br>
<%
WebsiteUser sessionUser = (WebsiteUser)request.getSession().getAttribute("loginUser");
if(sessionUser==null){
%>
[<a href="imecas/userRegist.jsp" style="color: blue;">用户注册</a>] [<a href="<%=basePath+"/"+currentTime+ClientControlServlet.MENU+"-6-170.html"%>" style="color: blue;">登陆</a>]
<%
}else{
%>
[<a href="<%=basePath %>imecas/userInfo.jsp" style="color: blue;">欢迎你:<%=sessionUser.getRealName()%></a>] [<a href="<%=basePath%>?ac=out" style="color: blue;"> 注销 </a>]
<%} %>
</div>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货