You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by gm...@apache.org on 2013/01/22 21:58:52 UTC
svn commit: r1437162 - in /incubator/jspwiki/trunk: ChangeLog
src/org/apache/wiki/util/UtilJ2eeCompat.java
Author: gmazza
Date: Tue Jan 22 20:58:52 2013
New Revision: 1437162
URL: http://svn.apache.org/viewvc?rev=1437162&view=rev
Log:
Fix for JSPWiki-396 use streaming for WebLogic so UTF-8 chars render properly.
Modified:
incubator/jspwiki/trunk/ChangeLog
incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java
Modified: incubator/jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=1437162&r1=1437161&r2=1437162&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Tue Jan 22 20:58:52 2013
@@ -1,3 +1,8 @@
+2013-01-22 Glen Mazza
+
+ Fix for JSPWiki-396 (updated org/apache/wiki/util/UtilJ2eeCompat.java to
+ use streaming instead of char array-based output to WebLogic.
+
2013-01-20 Dirk Frederickx (brushed AT apache DOT org)
* 2.9.1-svn-19
Modified: incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java?rev=1437162&r1=1437161&r2=1437162&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java Tue Jan 22 20:58:52 2013
@@ -129,6 +129,8 @@ public class UtilJ2eeCompat
else if( serverInfo.indexOf( WEBLOGIC ) >= 0 )
{
log.info( WEBLOGIC + " detected" );
+ // use response.getOutputStream instead of response.getWriter
+ useStream = true;
}
else if( serverInfo.indexOf( GLASSFISH ) >= 0 )
{