cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r678004 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
Date Fri, 18 Jul 2008 19:22:17 GMT
Author: dkulp
Date: Fri Jul 18 12:22:17 2008
New Revision: 678004

URL: http://svn.apache.org/viewvc?rev=678004&view=rev
Log:
[CXF-1705] Servlet 2.3 compliance  (Patch from Hani Suleiman applied)

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java?rev=678004&r1=678003&r2=678004&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
Fri Jul 18 12:22:17 2008
@@ -193,8 +193,7 @@
             return;
         }
         
-        response.setContentType("text/html");        
-        response.setCharacterEncoding("UTF-8");
+        response.setContentType("text/html; charset=UTF-8");        
         
         response.getWriter().write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
" 
                 + "\"http://www.w3.org/TR/html4/loose.dtd\">");



Mime
View raw message