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] Commented: (WW-3117) StreamResult javadoc includes a mistake that leads many developers astray.
Date Wed, 06 May 2009 13:53:30 GMT

    [ https://issues.apache.org/struts/browse/WW-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46177#action_46177
] 

Wes Wannemacher commented on WW-3117:
-------------------------------------

Grumble, grumble... I was in too much of a hurry, sorry hold on a sec. I'll get it right this
time :)

> 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