Project

General

Profile

« Previous | Next » 

Revision 3729

use the servlet context path to construct absolute paths to the various file locations

View differences:

include_map.jsp
35 35
<head>
36 36
  <title>Metacat Data Catalog Map</title>
37 37
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
38
  <link href="<%=relativeRoot%>/default.css" rel="stylesheet" type="text/css">
38
  <link href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.css" rel="stylesheet" type="text/css">
39 39

  
40 40
  <script language="javascript" 
41
    type="text/javascript" src="<%=relativeRoot%>/default.js">
41
    type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.js">
42 42
  </script>
43 43
</head>
44 44
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
......
53 53
      <td colspan="3">
54 54
        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="subpanel">
55 55
          <tr><td> 
56
           <iframe scrolling="no" frameborder="0" width="750" height="520" src="<%=relativeRoot%>/../../common/spatial_templates/spatial1/map.html"> You need iframe support </iframe>
56
           <iframe scrolling="no" frameborder="0" width="750" height="520" src="<%=SERVER_URL_WITH_CONTEXT%>/style/common/spatial_templates/spatial1/map.html"> You need iframe support </iframe>
57 57
          </td></tr>
58 58
         </table>
59 59
      </td>

Also available in: Unified diff