Project

General

Profile

1 4345 daigle
<!-- *  Does a redirect to jsp index page * -->
2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<!--
5
 /**
6
  *  '$RCSfile: index.html,v $'
7
  *    Copyright: 2000 Regents of the University of California and the
8
  *               National Center for Ecological Analysis and Synthesis
9
  *  For Details: http://www.nceas.ucsb.edu/
10
  *
11
  *   '$Author: cjones $'
12
  *     '$Date: 2004/10/05 23:50:43 $'
13
  * '$Revision: 1.1 $'
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
17
  * the Free Software Foundation; either version 2 of the License, or
18
  * (at your option) any later version.
19
  *
20
  * This program is distributed in the hope that it will be useful,
21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
  * GNU General Public License for more details.
24
  *
25
  * You should have received a copy of the GNU General Public License
26
  * along with this program; if not, write to the Free Software
27
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
  *
29
  */
30
  -->
31
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
32
<head>
33
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
34
<script language="JavaScript">
35
// redirect any requests to this index.html page to index.jsp in order to handle all
36
// session tracking.
37
function doRedirectWithParams() {
38
  var fullURL = unescape(document.location);
39
  //params are to the right of the ? in the URL
40
  var start = fullURL.indexOf("?");
41
  var params = "";
42
  if (start > 0) params = fullURL.substring(start,fullURL.length);
43
  // the ant build script will substitute the tokens in below that are wrapped in '@ ... @'
44
 //  document.location.href="@systemidserver@@style-skins-path@/@default-style@/index.jsp" + params;
45
  document.location.href="@systemidserver@/data/dataCollectionsPortal.html" + params;
46
}
47
</script>
48
</head>
49
<body><script language="JavaScript">doRedirectWithParams()</script></body>
50
</html>