changeset 337:e1c10653f143 Root_gen2_1

Servlet version 1.5.3b - new getLastModified improves local caching of pages
author robcast
date Wed, 03 Nov 2004 14:38:39 +0100
parents 8cdbcc6cd4f7
children d50fefb90edb
files client/digitallibrary/WEB-INF/lib/DigilibServlet.jar servlet/src/digilib/servlet/Scaler.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
Binary file client/digitallibrary/WEB-INF/lib/DigilibServlet.jar has changed
--- a/servlet/src/digilib/servlet/Scaler.java	Wed Nov 03 14:24:41 2004 +0100
+++ b/servlet/src/digilib/servlet/Scaler.java	Wed Nov 03 14:38:39 2004 +0100
@@ -185,7 +185,8 @@
 	 * @see javax.servlet.http.HttpServlet#getLastModified(javax.servlet.http.HttpServletRequest)
 	 */
 	protected long getLastModified(HttpServletRequest request) {
-		accountlog.debug("GetLastModified from " + request.getRemoteAddr());
+		accountlog.debug("GetLastModified from " + request.getRemoteAddr()
+				+ " for " + request.getQueryString());
 		long mtime = -1;
 		// create new request with defaults
 		DigilibRequest dlReq = new DigilibRequest();
@@ -197,7 +198,6 @@
 			DocuDirectory dd = (DocuDirectory) f.getParent();
 			mtime = dd.getDirMTime() / 1000 * 1000;
 		}
-		logger.debug("last modified: "+mtime);
 		return mtime;
 	}