changeset 53:1e80635e3f8c

13.8.2002 - [different files] : roc - changed all hardcoded occurrences of /docuserver/digitallibrary to work relative or take the path from the request URL. Introduced a variable baseURL to hold the URL path (up to digilib.jsp etc.). Now it should be possible to install digilib in other directories. - removed xerces.jar. It seems not necessary any more (JDK 1.3.1, Tomcat 4.0.4)
author robcast
date Thu, 15 Aug 2002 23:40:15 +0200
parents 36505ac4a334
children 651c4679c4fb
files client/digitallibrary/digilib.html
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/digilib.html	Thu Aug 15 23:40:15 2002 +0200
+++ b/client/digitallibrary/digilib.html	Thu Aug 15 23:40:15 2002 +0200
@@ -5,20 +5,24 @@
 </head>
 
 <script LANGUAGE="JavaScript">
-
 <!-- Beginning of JavaScript --------
 
-this.location = "http://"+location.host+"/docuserver/digitallibrary/digilib.jsp"+location.search;
+// this.location = "http://"+location.host+"/docuserver/digitallibrary/digilib.jsp"+location.search;
+
+this.location.replace(this.location.href.replace(/\.html/, ".jsp"));
 
 // -- End of JavaScript code -------------- -->
+</script>
 
-</SCRIPT>
 <body>
 <h1>Digital Library Redirect</h1>
 
-<p>You should automatically be redirected to the Digital Library page.</p>
+<p>You should automatically be redirected to the Digital Library page. 
+    (<tt>digilib.<b>jsp</b></tt>)</p>
 
-<p>If this doesn't happen please <a href="digilib.jsp">click here</a>.</p>
+<p>If this doesn't happen make shure JavaScript is enabled in your browser. 
+    The Digital Library pages need JavaScript to work. If your problem still 
+    remains, please contact the administrator.</p>
 
 <hr>
 <address>robert.casties@philo.unibe.ch</address>