Project

General

Profile

« Previous | Next » 

Revision 3780

Added by daigle about 16 years ago

Changes to remove ANT tokens for the turnkey install project

View differences:

session_vars.jsp
54 54
	Metacat     metacat               = null;
55 55
	HttpSession rfSession             = null;
56 56
	boolean     isLoggedIn            = false;
57
  String      relativeRoot          = ".";
58 57
  
59 58
  //////////////////////////////////////////////////////////////////////////////	
60 59
	
......
122 121
			
123 122
			} else {   // ...or create it if it doesn't already exist
124 123
				try {
125
					metacat = MetacatFactory.createMetacatConnection(METACAT_URL);
124
					metacat = MetacatFactory.createMetacatConnection(SERVLET_URL);
126 125
				} catch (MetacatInaccessibleException mie) {
127
					throw new ServletException("Metacat connection to "+METACAT_URL
126
					throw new ServletException("Metacat connection to "+SERVLET_URL
128 127
                                                +" failed." + mie.getMessage());
129 128
				}
130 129
				if (metacat==null) {
131
					throw new ServletException("Metacat connection to "+METACAT_URL
130
					throw new ServletException("Metacat connection to "+SERVLET_URL
132 131
                                          +" failed - Metacat object is NULL!");
133 132
				}
134 133
				rfSession.setAttribute("sess_metacatObj", metacat);
......
185 184
	<tr> 
186 185
		<td colspan="4" align="left" valign="top" class="text_plain" bgcolor="#ffff00">
187 186
			<ul>
188
				<li>METACAT_URL:&nbsp;<%=METACAT_URL%></li>
187
				<li>SERVLET_URL:&nbsp;<%=SERVLET_URL%></li>
189 188
				<li>rfSession:&nbsp;<%=rfSession%></li>
190 189
				<li>metacatResponse:&nbsp;<%=metacatResponse%></li>
191 190
				<li>posted_ldapUserName:&nbsp;<%=posted_ldapUserName%></li>

Also available in: Unified diff