<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%
|
String path = request.getContextPath();
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
|
+ path + "/";
|
%>
|
|
<!DOCTYPE HTML>
|
<html>
|
<head>
|
<base href="<%=basePath%>">
|
<meta name="viewport" charset="width=device-width, initial-scale=1.0">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<title>文件浏览</title>
|
<!--[if lt IE 9]>
|
<script type="text/javascript" src="static/plugins/json2.js"></script>
|
<![endif]-->
|
<style type="text/css">
|
.viewer {
|
width: 100%;
|
border: 1px solid black;
|
position: relative;
|
}
|
</style>
|
<script>
|
function OnPageOfficeCtrlInit() {
|
pageofficectrl.CustomToolbar = false; //隐藏自定义工具栏
|
}
|
function AfterDocumentOpened(){
|
pageofficectrl.DisablePrint = true;
|
}
|
</script>
|
</head>
|
<body>
|
<div class="margin-lr">
|
<input type="hidden" id="attachUrl"/>
|
<div style=" width:auto; height:800px;">
|
${pageoffice}
|
</div>
|
</div>
|
</body>
|
</html>
|