axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisServlet.java
Date Thu, 02 Aug 2001 14:20:06 GMT
rubys       01/08/02 07:20:06

  Modified:    java/src/org/apache/axis/transport/http AxisServlet.java
  Log:
  return correct content-length when multi-byte-encoded-char in response
  Submitted by:	NAKAMURA, Hiroshi [mailto:nahi@keynauts.com]
  
  Revision  Changes    Path
  1.33      +1 -1      xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
  
  Index: AxisServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- AxisServlet.java	2001/07/30 13:24:27	1.32
  +++ AxisServlet.java	2001/08/02 14:20:06	1.33
  @@ -205,7 +205,7 @@
           } else {
               response = (String)msg.getAsString();
           }
  -        res.setContentLength( response.length() );
  +        res.setContentLength( response.getBytes().length );
           res.getWriter().print( response );
       }
   }
  
  
  

Mime
View raw message