Project

General

Profile

Revision 4351

Added by daigle over 12 years ago

Change METACAT_URL to SERVLET_URL

View differences:

lib/style/skins/sbclter/templates/jsp/include_session_vars.jsp
121 121
      
122 122
      } else {   // ...or create it if it doesn't already exist
123 123
        try {
124
          metacat = MetacatFactory.createMetacatConnection(METACAT_URL);
124
          metacat = MetacatFactory.createMetacatConnection(SERVLET_URL);
125 125
        } catch (MetacatInaccessibleException mie) {
126
          throw new ServletException("Metacat connection to "+METACAT_URL
126
          throw new ServletException("Metacat connection to "+SERVLET_URL
127 127
                                                +" failed." + mie.getMessage());
128 128
        }
129 129
        if (metacat==null) {
130
          throw new ServletException("Metacat connection to "+METACAT_URL
130
          throw new ServletException("Metacat connection to "+SERVLET_URL
131 131
                                          +" failed - Metacat object is NULL!");
132 132
        }
133 133
        rfSession.setAttribute("sess_metacatObj", metacat);
......
182 182
%>  
183 183
<div id="debug">              
184 184
  <ul>
185
    <li>METACAT_URL:&nbsp;<%=METACAT_URL%></li>
185
    <li>SERVLET_URL:&nbsp;<%=SERVLET_URL%></li>
186 186
    <li>rfSession:&nbsp;<%=rfSession%></li>
187 187
    <li>metacatResponse:&nbsp;<%=metacatResponse%></li>
188 188
    <li>posted_ldapUserName:&nbsp;<%=posted_ldapUserName%></li>

Also available in: Unified diff