jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletResponse SetContentLengthTestServlet.java
Date Mon, 06 May 2002 17:47:05 GMT
rlubke      02/05/06 10:47:05

  Modified:    src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletResponse
                        SetContentLengthTestServlet.java
  Log:
  - Applied patch to correct the content length sent by servlet (patch supplied by Remy Maucherat
- remm at apache.org)
  
  Revision  Changes    Path
  1.4       +4 -4      jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletResponse/SetContentLengthTestServlet.java
  
  Index: SetContentLengthTestServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletResponse/SetContentLengthTestServlet.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SetContentLengthTestServlet.java	12 Mar 2002 05:22:18 -0000	1.3
  +++ SetContentLengthTestServlet.java	6 May 2002 17:47:05 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletResponse/SetContentLengthTestServlet.java,v
1.3 2002/03/12 05:22:18 rlubke Exp $ 
  - * $Revision: 1.3 $
  - * $Date: 2002/03/12 05:22:18 $
  + * $Header: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletResponse/SetContentLengthTestServlet.java,v
1.4 2002/05/06 17:47:05 rlubke Exp $ 
  + * $Revision: 1.4 $
  + * $Date: 2002/05/06 17:47:05 $
    *
    * ====================================================================
    * The Apache Software License, Version 1.1
  @@ -75,7 +75,7 @@
       public void service ( ServletRequest request, ServletResponse response ) throws ServletException,
IOException {
   
           PrintWriter out = response.getWriter();
  -        response.setContentLength( PASSED.length() + 1 );
  +        response.setContentLength( PASSED.length() + 2 );
           out.println( PASSED );
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message