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 @@
  * &lt;result name="success" type="stream"&gt;
  *   &lt;param name="contentType"&gt;image/jpeg&lt;/param&gt;
  *   &lt;param name="inputName"&gt;imageStream&lt;/param&gt;
- *   &lt;param name="contentDisposition"&gt;attachment; filename="document.pdf"&lt;/param&gt;
+ *   &lt;param name="contentDisposition"&gt;attachment;filename="document.pdf"&lt;/param&gt;
  *   &lt;param name="bufferSize"&gt;1024&lt;/param&gt;
  * &lt;/result&gt;
  * <!-- END SNIPPET: example --></pre>