struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Wannemacher (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-3117) StreamResult javadoc includes a mistake that leads many developers astray.
Date Wed, 06 May 2009 12:29:30 GMT

     [ https://issues.apache.org/struts/browse/WW-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wes Wannemacher resolved WW-3117.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.7
         Assignee: Wes Wannemacher

Good catch, thanks Dale!

> 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
>            Assignee: Wes Wannemacher
>            Priority: Trivial
>             Fix For: 2.1.7
>
>
> 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