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

Dale Newfield commented on WW-3117:
-----------------------------------

Sorry to be such a pedant, but my reading of that spec says that there should 
not be a space after the semicolon...

> 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.

Reply via email to