You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by we...@apache.org on 2009/05/06 15:52:54 UTC
svn commit: r772264 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
Author: wesw
Date: Wed May 6 13:52:53 2009
New Revision: 772264
URL: http://svn.apache.org/viewvc?rev=772264&view=rev
Log:
WW-3117, no space between attachment and filename, oops, thanks again Dale
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=772264&r1=772263&r2=772264&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 Wed May 6 13:52:53 2009
@@ -53,7 +53,7 @@
*
* <li><b>contentDisposition</b> - the content disposition header value for
* specifing the file name (default = <code>inline</code>, values are typically
- * <i>attachment; filename="document.pdf"</i>.</li>
+ * <i>attachment;filename="document.pdf"</i>.</li>
*
* <li><b>inputName</b> - the name of the InputStream property from the chained
* action (default = <code>inputStream</code>).</li>
@@ -76,7 +76,7 @@
* <result name="success" type="stream">
* <param name="contentType">image/jpeg</param>
* <param name="inputName">imageStream</param>
- * <param name="contentDisposition">attachment; filename="document.pdf"</param>
+ * <param name="contentDisposition">attachment;filename="document.pdf"</param>
* <param name="bufferSize">1024</param>
* </result>
* <!-- END SNIPPET: example --></pre>