Project

General

Profile

« Previous | Next » 

Revision 3726

Added by Jing Tao almost 17 years ago

Change the relative path to use a function getServerName+getPortNumber+getContextPath. But there is still problem in default.js.

View differences:

index.jsp
37 37
<head>
38 38
<title>Metacat Data Catalog </title>
39 39
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
40
	<link rel="stylesheet" type="text/css" href="./default.css">
41
	<script language="javascript" type="text/javascript" src="./default.js"></script>
42
	<script language="javascript" type="text/javascript" src="../../common/branding.js"></script>
40
	<link rel="stylesheet" type="text/css" href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.css">
41
	<script language="javascript" type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.js"></script>
42
	<script language="javascript" type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/common/branding.js"></script>
43 43
</head>
44 44
<body>
45 45
  <script language="javascript">

Also available in: Unified diff