mirror of
https://github.com/apache/struts.git
synced 2026-08-06 15:17:00 +00:00
WW-2565
StreamResult calling wrong method for setContentType in resolveParamsFromStack git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@643360 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -260,7 +260,7 @@ public class StreamResult extends StrutsResultSupport {
|
||||
|
||||
String contentType = stack.findString("contentType");
|
||||
if (contentType != null) {
|
||||
setContentLength(contentType);
|
||||
setContentType(contentType);
|
||||
}
|
||||
|
||||
String inputName = stack.findString("inputName");
|
||||
|
||||
Reference in New Issue
Block a user