svn commit: r570857 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r570857 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java

jonesde
Author: jonesde
Date: Wed Aug 29 09:31:33 2007
New Revision: 570857

URL: http://svn.apache.org/viewvc?rev=570857&view=rev
Log:
After more testing it looks like I was wrong about this, changing back to use getWriter instead of getOutputStream for Tomcat

Modified:
    ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java

Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java?rev=570857&r1=570856&r2=570857&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilJ2eeCompat.java Wed Aug 29 09:31:33 2007
@@ -75,8 +75,8 @@
                 Debug.logImportant("Trade City RexIP detected, using response.getWriter to write text out instead of response.getOutputStream", module);
                 usestream = false;
             } else if (serverInfo.indexOf(TOMCAT) >= 0) {
-                Debug.logImportant("Apache Tomcat detected, using all defaults, use: flush on render, response.getOutputStream, nested JSP exception", module);
-                // Tomcat used to prefer Writer to OutputStream, but found in at least version 5.5.23 that OutputStream is preferred, so commenting this out: usestream = false;
+                Debug.logImportant("Apache Tomcat detected, using response.getWriter to write text out instead of response.getOutputStream", module);
+                usestream = false;
             } else if (serverInfo.indexOf(JRUN) >= 0) {
                 Debug.logImportant("JRun detected, using response.getWriter to write text out instead of response.getOutputStream", module);
                 usestream = false;