1 |
1929
|
brooke
|
<!--
|
2 |
3780
|
daigle
|
/**
|
3 |
1929
|
brooke
|
* '$RCSfile$'
|
4 |
3780
|
daigle
|
* Copyright: 2008 Regents of the University of California and the
|
5 |
1929
|
brooke
|
* National Center for Ecological Analysis and Synthesis
|
6 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
7 |
|
|
*
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
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 |
3780
|
daigle
|
*
|
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 |
1929
|
brooke
|
<head>
|
36 |
3780
|
daigle
|
<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 |
1929
|
brooke
|
</head>
|
50 |
3780
|
daigle
|
<body><script language="JavaScript">doRedirectWithParams()</script></body>
|
51 |
1929
|
brooke
|
</html>
|