dleslie     00/08/10 04:50:25

  Modified:    java/samples/servlet ApplyXSLT.java
  Log:
  For "text" output method, set ContentType to "text/plain"
  
  Revision  Changes    Path
  1.6       +2 -2      xml-xalan/java/samples/servlet/ApplyXSLT.java
  
  Index: ApplyXSLT.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/samples/servlet/ApplyXSLT.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ApplyXSLT.java    2000/08/09 21:56:14     1.5
  +++ ApplyXSLT.java    2000/08/10 11:50:24     1.6
  @@ -1,5 +1,5 @@
   
/*****************************************************************************************************
  - * $Id: ApplyXSLT.java,v 1.5 2000/08/09 21:56:14 dleslie Exp $
  + * $Id: ApplyXSLT.java,v 1.6 2000/08/10 11:50:24 dleslie Exp $
    *
    * Copyright (c) 1998-1999 Lotus Corporation, Inc. All Rights Reserved.
    *                           This software is provided without a warranty of 
any kind.
  @@ -502,7 +502,7 @@
          if (method.equals("html"))
                  return "text/html";
          else if (method.equals("text"))
  -               return "text";
  +               return "text/plain";
          else 
                  return "text/xml";
        }
  
  
  

Reply via email to