Project

General

Profile

« Previous | Next » 

Revision 3729

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

View differences:

include_login.jsp
35 35
<head>
36 36
  <title</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
  <script language="javascript" 
40
    type="text/javascript" src="<%=relativeRoot%>/default.js">
40
    type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.js">
41 41
  </script>
42 42
  <script language="javascript" type="text/javascript">
43 43
    var popupMsg = "If you need to create a new account, \n"
......
102 102
                <%= loginStatus %>
103 103
            </td>
104 104
            <td width="10">
105
              <img src="./images/transparent1x1.gif" width="10" height="10">
105
              <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10" height="10">
106 106
            </td>
107 107
          </tr>
108 108
          <tr> 
109 109
            <td width="10">
110
              <img src="./images/transparent1x1.gif" width="10" height="10">
110
              <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10" height="10">
111 111
            </td>
112 112
            <td> 
113 113
              <form name="loginform" method="post" action="index.jsp" 
......
126 126
                      value="<%=typedUserName%>" <%=loginEnabledDisabled%>>
127 127
                  </td>
128 128
                  <td width="10px">
129
                    <img src="./images/transparent1x1.gif" width="10">
129
                    <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10">
130 130
                  </td>
131 131
                  <td align="left" class="text_plain">
132 132
                    <a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi" target="_top">
......
152 152
                    </select>
153 153
                  </td>
154 154
                  <td width="10px">
155
                    <img src="./images/transparent1x1.gif" width="10" >
155
                    <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10" >
156 156
                  </td>
157 157
                  <td align="left" class="text_plain">
158 158
                    <a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?stage=resetpass" target="_top">forgot your password?</a>
......
169 169
                    <%=loginEnabledDisabled%>>
170 170
                  </td>
171 171
                  <td width="10px">
172
                    <img src="./images/transparent1x1.gif" width="10">
172
                    <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10">
173 173
                  </td>
174 174
                  <td align="left" class="text_plain">
175 175
                    <a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?stage=changepass" target="_top">change your password</a> 
......
182 182
                  </td>
183 183
                  </td>
184 184
                  <td width="10">
185
                    <img src="./images/transparent1x1.gif" width="10">
185
                    <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10">
186 186
                  </td>
187 187
                  <td>
188
                    <img src="./images/transparent1x1.gif" width="10">
188
                    <img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/images/transparent1x1.gif" width="10">
189 189
                  </td>
190 190
                </tr>
191 191
                <tr>

Also available in: Unified diff