changeset 891:6584af320296 jquery

fix working as servlet spec 2.3.
author robcast
date Thu, 07 Apr 2011 10:23:35 +0200
parents 613c2089bc7a
children ba1eb2d821a2 01b875d668b1
files servlet/src/digilib/servlet/ServletOps.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/ServletOps.java	Thu Apr 07 10:22:26 2011 +0200
+++ b/servlet/src/digilib/servlet/ServletOps.java	Thu Apr 07 10:23:35 2011 +0200
@@ -32,7 +32,6 @@
 
 import javax.servlet.ServletContext;
 import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
@@ -302,7 +301,8 @@
     		logger.error("No response!");
     		return;
     	}
-        logger.debug("sending to response: ("+ headersToString(response) + ") committed=" + response.isCommitted());
+        //logger.debug("sending to response: ("+ headersToString(response) + ") committed=" + response.isCommitted());
+        logger.debug("sending to response. committed=" + response.isCommitted());
         // TODO: should we erase or replace old last-modified header?
         try {
             OutputStream outstream = response.getOutputStream();
@@ -346,6 +346,7 @@
     }
     
     /** Returns text representation of headers for debuggging purposes.
+     * Works only with Servlet spec 3.0!
      * @param resp
      * @return
      */