bip         01/10/18 12:01:14

  Modified:    catalina/src/share/org/apache/catalina/servlets
                        SsiInvokerServlet.java
  Log:
  Changed the SsiInvokerServlet to always set the Content-type header information.
  Thanks to Rami Hanninen for submitting a bugreport.
  
  Submitted by: [EMAIL PROTECTED]
  PR: 4259
  
  Revision  Changes    Path
  1.9       +6 -4      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/SsiInvokerServlet.java
  
  Index: SsiInvokerServlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/SsiInvokerServlet.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SsiInvokerServlet.java    2001/07/22 20:25:11     1.8
  +++ SsiInvokerServlet.java    2001/10/18 19:01:14     1.9
  @@ -1,8 +1,8 @@
   /*
    * SsiInvokerServlet.java
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/SsiInvokerServlet.java,v
 1.8 2001/07/22 20:25:11 pier Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/07/22 20:25:11 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/SsiInvokerServlet.java,v
 1.9 2001/10/18 19:01:14 bip Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/10/18 19:01:14 $
    *
    * ====================================================================
    *
  @@ -99,7 +99,7 @@
    *
    * @author Bip Thelin
    * @author Amy Roh
  - * @version $Revision: 1.8 $, $Date: 2001/07/22 20:25:11 $
  + * @version $Revision: 1.9 $, $Date: 2001/10/18 19:01:14 $
    */
   public final class SsiInvokerServlet extends HttpServlet {
       /** Debug level for this servlet. */
  @@ -234,6 +234,8 @@
               res.sendError(res.SC_NOT_FOUND, path);
               return;
           }
  +
  +        res.setContentType("text/html;charset=UTF-8");
   
           if (expires != null) {
               res.setDateHeader("Expires", (
  
  
  


Reply via email to