Revision 329
Added by Matt Jones over 23 years ago
MetaCatServlet.java | ||
---|---|---|
226 | 226 |
} else if (action.equals("Logout")) { |
227 | 227 |
HttpSession sess = request.getSession(false); |
228 | 228 |
if (sess != null) { sess.invalidate(); } |
229 |
response.sendRedirect("/xmltodb/lib/login.html");
|
|
229 |
response.sendRedirect("/xmltodb/login.html"); |
|
230 | 230 |
// aware of session expiration on every request |
231 | 231 |
} else { |
232 | 232 |
HttpSession sess = request.getSession(false); |
... | ... | |
234 | 234 |
// session expired or has not been stored b/w user requests |
235 | 235 |
// or anonymous user access with query privs only by default; |
236 | 236 |
// redirect to default page for query only access |
237 |
// response.sendRedirect("/xmltodb/lib/index.html");
|
|
237 |
// response.sendRedirect("/xmltodb/index.html"); |
|
238 | 238 |
// } |
239 | 239 |
} |
240 | 240 |
// End of Jivka added |
... | ... | |
300 | 300 |
out.println("</success>"); |
301 | 301 |
} else { |
302 | 302 |
response.sendRedirect( |
303 |
response.encodeRedirectUrl("/xmltodb/lib/index.html"));
|
|
303 |
response.encodeRedirectUrl("/xmltodb/index.html")); |
|
304 | 304 |
} |
305 | 305 |
} catch ( java.io.IOException ioe) { |
306 | 306 |
sess.disconnect(); |
... | ... | |
784 | 784 |
|
785 | 785 |
/** |
786 | 786 |
* '$Log$ |
787 |
* 'Revision 1.59 2000/08/08 00:31:20 bojilova |
|
788 |
* 'rearrange html pages for login and metacat access |
|
789 |
* ' |
|
787 | 790 |
* 'Revision 1.58 2000/08/04 23:34:09 bojilova |
788 | 791 |
* 'more precise handling of the Connection Pool |
789 | 792 |
* ' |
Also available in: Unified diff
-Reorganized xmltodb module to support new install process for the new
linux server (dev.nceas.ucsb.edu). Added "build.sh" shell script that
calls ant withthe proper umask set for installation. Use:
to post a new copy of the servlet and its supporting files to the install
directory defined in build.xml.
-Updated the servlet to use a new servlet prefix that we'll use with the
Tomcat servlet engine.
-Update bin dir shell scripts to reflect new locations of relevant jar files.