changeset 251:465641fd157c

servlet version 1.19b5 - filename and dpi in request - filename and dpi in dlInfo-*
author robcast
date Wed, 25 Aug 2004 01:06:29 +0200
parents 6609839813d0
children 59250ea2ad55
files servlet/src/digilib/servlet/DigilibRequest.java
diffstat 1 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/DigilibRequest.java	Thu Aug 12 02:33:10 2004 +0200
+++ b/servlet/src/digilib/servlet/DigilibRequest.java	Wed Aug 25 01:06:29 2004 +0200
@@ -67,7 +67,8 @@
  * mo: special options like 'fit' for gifs. <br>
  * mk: list of marks. <br>
  * pt: total number of pages (generated by sevlet). <br>
- * baseURL: base URL (from http:// to below /servlet).
+ * baseURL: base URL (from http:// to below /servlet). <br>
+ * ...et alii
  * 
  * @author casties
  *  
@@ -130,7 +131,7 @@
 		newParameter("ddpiy", new Float(0), null, 's');
 
 		/*
-		 * Parameter of type 'i' are not exchanged between client and server
+		 * Parameters of type 'i' are not exchanged between client and server
 		 */
 
 		// url of the page/document (first part, may be empty)
@@ -145,15 +146,21 @@
 		servletRequest = null;
 
 		/*
-		 * Parameter of type 'c' are for the clients internal use
+		 * Parameters of type 'c' are for the clients use
 		 */
 
+		// "real" filename
+		newParameter("img.fn", "", null, 'c');
+		// image dpi x
+		newParameter("img.dpix", new Integer(0), null, 'c');
+		// image dpi y
+		newParameter("img.dpiy", new Integer(0), null, 'c');
+		// total number of pages
+		newParameter("pt", new Integer(0), null, 'c');
 		//	display level of digilib (0 = just image, 1 = one HTML page
 		//        2 = in frameset, 3 = XUL-'frameset'
 		//        4 = XUL-Sidebar )
 		newParameter("lv", new Integer(2), null, 'c');
-		// total number of pages
-		newParameter("pt", new Integer(0), null, 'c');
 		// marks
 		newParameter("mk", "", null, 'c');