struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From herma...@apache.org
Subject svn commit: r643360 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
Date Tue, 01 Apr 2008 11:08:26 GMT
Author: hermanns
Date: Tue Apr  1 04:07:24 2008
New Revision: 643360

URL: http://svn.apache.org/viewvc?rev=643360&view=rev
Log:
WW-2565
StreamResult calling wrong method for setContentType in resolveParamsFromStack

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java?rev=643360&r1=643359&r2=643360&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
Tue Apr  1 04:07:24 2008
@@ -260,7 +260,7 @@
 
         String contentType = stack.findString("contentType");
         if (contentType != null) {
-            setContentLength(contentType);
+            setContentType(contentType);
         }
 
         String inputName = stack.findString("inputName");



Mime
View raw message