changeset 51:aa63c2f1c3ca

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 866e798e2bef
children 36505ac4a334
files client/digitallibrary/digicat.html
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/digicat.html	Thu Aug 15 23:40:15 2002 +0200
+++ b/client/digitallibrary/digicat.html	Thu Aug 15 23:40:15 2002 +0200
@@ -8,7 +8,9 @@
 
 <!-- Beginning of JavaScript --------
 
-this.location = "http://"+location.host+"/docuserver/digitallibrary/digicat.jsp"+location.search;
+//this.location = "http://"+location.host+"/docuserver/digitallibrary/digicat.jsp"+location.search;
+
+this.location.replace(this.location.href.replace(/\.html/, ".jsp"));
 
 // -- End of JavaScript code -------------- -->
 
@@ -17,9 +19,12 @@
 <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>digicat.<b>jsp</b></tt>)</p>
 
-<p>If this doesn't happen please <a href="digicat.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>