Author: jonesde
Date: Fri Jul 27 21:08:47 2007
New Revision: 560485
URL:
http://svn.apache.org/viewvc?view=rev&rev=560485Log:
Changed for what seems to be what Tomcat is using these days; hasn't been such a big deal because we don't use the region framework or other JSP heavy stuff, but was causing problems for error pages, etc
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?view=diff&rev=560485&r1=560484&r2=560485==============================================================================
--- 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 Fri Jul 27 21:08:47 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 response.getWriter to write text out instead of response.getOutputStream", module);
- usestream = false;
+ 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;
} else if (serverInfo.indexOf(JRUN) >= 0) {
Debug.logImportant("JRun detected, using response.getWriter to write text out instead of response.getOutputStream", module);
usestream = false;