多单位版国产化地质资料管理系统
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
<%@ 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 http-equiv="content-type" content="text/html;charset=utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no">
 
    <style type="text/css">
        .online_3d_viewer {
            width: 100%;
            /*border: 1px solid black;*/
            position: relative;
        }
 
        html, body {
            height: 100%;
            margin: 0px;
        }
    </style>
 
    <script type="text/javascript" src="static/plugins/o3dv/o3dv.min.js"></script>
    <!-- website end -->
    <!-- plugins start -->
    <!-- plugins end -->
    <script>
        window.addEventListener('load', () => {
            // init all viewers on the page
            OV.Init3DViewerElements();
        });
    </script>
</head>
 
<body>
<div class="online_3d_viewer"
     style="width: 100%; height: 100%;"
     model="general/${attachViewUrl}">
</div>
</body>
 
</html>