Project

General

Profile

« Previous | Next » 

Revision 3729

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

View differences:

include_searchbox.jsp
37 37
<head>
38 38
  <title>Metacat Data Catalog Search Page</title>
39 39
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
40
  <link href="<%=relativeRoot%>/default.css" rel="stylesheet" type="text/css">
40
  <link href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.css" rel="stylesheet" type="text/css">
41 41
  <script language="javascript" 
42
    type="text/javascript" src="<%=relativeRoot%>/default.js">
42
    type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.js">
43 43
  </script>
44 44
  <script language="javascript" type="text/javascript">
45 45
    function trim(stringToTrim) {
......
181 181
                    <td colspan="2" valign="middle" class="text_example">
182 182
                      <p> 
183 183
                        <%= loginStatus %> &nbsp;
184
                        (<a href="<%=relativeRoot%>/index.jsp#loginanchor" 
184
                        (<a href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/index.jsp#loginanchor" 
185 185
                          target="_top"><%=loginButtonLabel%></a>).&nbsp; 
186 186
                        You may search the data catalog without being logged 
187 187
                        into your account, but will have access only to 
......
205 205
                      &nbsp;&nbsp;&nbsp;
206 206
                      
207 207
                      <a target="_top" 
208
                        href="<%=relativeRoot%>/index_advanced.jsp"> 
208
                        href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/index_advanced.jsp"> 
209 209
                          &raquo;&nbsp;advanced&nbsp;search&nbsp;&laquo;</a>
210 210
                      
211 211
                    </td>

Also available in: Unified diff