为了方便,项目需要网页显示客户提供的一份word文档
获取绝对路径会直接下载文件
寻求解决办法
ActiveXObject只支持ie,其他浏览器并不适用
2.https://blog.csdn.net/qxianx/article/details/81317894
<iframe style="width: 100%;min-height: 600px;" src='https://view.officeapps.live.com/op/view.aspx?src=${pageContext.servletContext.contextPath}/app/basedata/receive/pdfView.jsp' width='100%' height='100%' frameborder='1'>
3.转pdf