struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale Newfield (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-3117) StreamResult javadoc includes a mistake that leads many developers astray.
Date Tue, 05 May 2009 20:26:32 GMT
StreamResult javadoc includes a mistake that leads many developers astray.
--------------------------------------------------------------------------

                 Key: WW-3117
                 URL: https://issues.apache.org/struts/browse/WW-3117
             Project: Struts 2
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 2.1.6
            Reporter: Dale Newfield
            Priority: Trivial


org.apache.struts2.dispatcher.StreamResult includes this javadoc:

 * <li><b>contentDisposition</b> - the content disposition header value
for
 * specifing the file name (default = <code>inline</code>, values are typically
 * <i>filename="document.pdf"</i>.</li>

That last line should be:
 * <i>attachment;filename="document.pdf"</i>.</li>

http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message