Author: ddewolf Date: Thu Jan 11 05:57:55 2007 New Revision: 495228 URL: http://svn.apache.org/viewvc?view=rev&rev=495228 Log: adding default param for stream result so that it can be used with auto-config annotated results
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?view=diff&rev=495228&r1=495227&r2=495228 ============================================================================== --- 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 Thu Jan 11 05:57:55 2007 @@ -82,6 +82,8 @@ protected static final Log log = LogFactory.getLog(StreamResult.class); + public static final String DEFAULT_PARAM = "inputName"; + protected String contentType = "text/plain"; protected String contentLength; protected String contentDisposition = "inline";