dlr         02/05/30 13:36:10

  Modified:    xdocs    server.xml
  Log:
  Applied fix suggested by Andriy Rozeluk <[EMAIL PROTECTED]> which
  corrects sample Java code.
  
  Revision  Changes    Path
  1.5       +1 -1      xml-rpc/xdocs/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/xml-rpc/xdocs/server.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- server.xml        7 Nov 2001 12:46:34 -0000       1.4
  +++ server.xml        30 May 2002 20:36:10 -0000      1.5
  @@ -71,7 +71,7 @@
    ...
    byte[] result = xmlrpc.execute (request.getInputStream ());
    response.setContentType ("text/xml");
  - response.setContentLength (result.length ());
  + response.setContentLength (result.length);
    OutputStream out = response.getOutputStream();
    out.write (result);
    out.flush ();</pre>
  
  
  


Reply via email to