多单位版国产化地质资料管理系统
zhai
2025-12-18 3c6f6c1e3016e38146a4c46be6e7b625c35591f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
    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>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
 
<link rel="stylesheet" type="text/css" media="all" href="static/plugins/iipmooviewer-2.0/css/iip.css" />
<!--[if lt IE 9]>
  <link rel="stylesheet" type="text/css" media="all" href="static/plugins/iipmooviewer-2.0/css/ie.css" />
<![endif]-->
 
<link rel="shortcut icon" href="static/plugins/iipmooviewer-2.0/images/iip-favicon.png" />
<link rel="apple-touch-icon" href="static/plugins/iipmooviewer-2.0/images/iip.png" />
 
<script type="text/javascript" src="static/plugins/iipmooviewer-2.0/javascript/mootools-core-1.3.2-full-nocompat.js"></script>
<script type="text/javascript" src="static/plugins/iipmooviewer-2.0/javascript/mootools-more-1.3.2.1.js"></script>
<script type="text/javascript" src="static/plugins/iipmooviewer-2.0/javascript/protocols.js"></script>
<script type="text/javascript" src="static/plugins/iipmooviewer-2.0/javascript/iipmooviewer-2.0.js"></script>
 
<!--[if lt IE 7]>
  <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js">IE7_PNG_SUFFIX = ".png";</script>
<![endif]-->
 
 
<script type="text/javascript">
 
    // The iipsrv server path (/fcgi-bin/iipsrv.fcgi by default)
    var server = 'fcgi-bin/iipsrv.fcgi';
 
    // The *full* image path on the server. This path does *not* need to be in the web
    // server root directory. On Windows, use Unix style forward slash paths without
    // the "c:" prefix
    var images = '${fn:replace(attachUrl, "\\", "/")}';
 
    // Copyright or information message
    var credit = '';
    <c:if test = "${enableWatermark}">
    credit = "${watermarkText}";
    </c:if>
 
    // Create our viewer object
    // See documentation for more details of options
    var iipmooviewer = new IIPMooViewer("viewer", {
        image : images,
        prefix: "static/plugins/iipmooviewer-2.0/images/",
        server : server,
        credit : credit,
        scale : 20.0,
        showNavWindow : true,
        showNavButtons : true,
        winResize : true,
        protocol : 'iip'
    });
</script>
 
<style type="text/css">
body {
    height: 100%;
}
 
div#viewer {
    width: 100%;
    height: 100%;
}
</style>
</head>
<body>
    <div id="viewer"></div>
</body>
</html>