Project

General

Profile

« Previous | Next » 

Revision 3729

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

View differences:

index.jsp
43 43
</head>
44 44
<body>
45 45
  <script language="javascript">
46
	  insertTemplateOpening();
47
	  insertSearchBox();
46
	  insertTemplateOpening("<%=SERVER_URL_WITH_CONTEXT%>");
47
	  insertSearchBox("<%=SERVER_URL_WITH_CONTEXT%>");
48 48
  </script>
49 49
  <br/>
50 50

  
51 51
  <% if ( MetaCatUtil.getOption("runSpatialOption").equals("true") ) { %>
52 52
  <script language="javascript">
53
	  insertMap();
53
	  insertMap("<%=SERVER_URL_WITH_CONTEXT%>");
54 54
  </script>
55 55
  <br/>
56 56
  <% } %>
57 57

  
58 58
  <script language="javascript">
59
	  insertLoginBox();
59
	  insertLoginBox("<%=SERVER_URL_WITH_CONTEXT%>");
60 60
  </script>
61 61
  <script language="javascript">
62
	  insertTemplateClosing();
62
	  insertTemplateClosing("<%=SERVER_URL_WITH_CONTEXT%>");
63 63
  </script>
64 64
</body>
65 65
</html>

Also available in: Unified diff