changeset 530:bd6569a95a3c digilibPDF

clean up
author robcast
date Thu, 14 Jan 2010 14:30:30 +0100
parents 6f0317ff5824
children 9cedd170b581
files client/digitallibrary/WEB-INF/web.xml
diffstat 1 files changed, 30 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/WEB-INF/web.xml	Thu Jan 14 14:26:56 2010 +0100
+++ b/client/digitallibrary/WEB-INF/web.xml	Thu Jan 14 14:30:30 2010 +0100
@@ -54,6 +54,18 @@
             digilib.servlet.Texter
         </servlet-class>
   </servlet>
+  <!-- The PDFCache servlet -->
+  <servlet>
+        <servlet-name>
+            PDFCache
+        </servlet-name>
+        <description>
+            The servlet for PDF.
+        </description>
+        <servlet-class>
+            digilib.servlet.PDFCache
+        </servlet-class>
+  </servlet>
   <!-- We want to mess around with the default JSP servlet... -->
   <servlet>
         <servlet-name>
@@ -109,7 +121,24 @@
             /authenticated/servlet/Texter/*
         </url-pattern>
   </servlet-mapping>
-  <!-- The mapping for the JSP servlet -->
+  <!-- The mapping for the Texter servlet -->
+  <servlet-mapping>
+        <servlet-name>
+            PDFCache
+        </servlet-name>
+        <url-pattern>
+            /servlet/PDFCache/*
+        </url-pattern>
+  </servlet-mapping>
+  <servlet-mapping>
+        <servlet-name>
+            PDFCache
+        </servlet-name>
+        <url-pattern>
+            /authenticated/servlet/PDFCache/*
+        </url-pattern>
+  </servlet-mapping>
+   <!-- The mapping for the JSP servlet -->
   <servlet-mapping>
         <servlet-name>
             doc-jsp