Project

General

Profile

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

    
(10-10/26)