You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by he...@apache.org on 2008/04/01 13:08:26 UTC
svn commit: r643360 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
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");