List Info

Thread: Commented: (WW-1281) Allow StreamResult parameters to be read from the stack




Commented: (WW-1281) Allow StreamResult parameters to be read from the stack
country flaguser name
United States
2007-11-04 19:00:58
    [ https://issues.apache.org/struts/browse/WW
-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:c
omment-tabpanel#action_42570 ] 

Don Brown commented on WW-1281:
-------------------------------

Works fine for me.  I ran the build on two machines (Linux
and OSX).  Also, bamboo is looking green - 
http://opensource.bamboo.atlassian.com/browse/STRUTS

> Allow StreamResult parameters to be read from the
stack
>
-------------------------------------------------------
>
>                 Key: WW-1281
>                 URL: https
://issues.apache.org/struts/browse/WW-1281
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Dispatch Filter, XML
Configuration
>    Affects Versions: WW 2.2.2
>         Environment: Any
>            Reporter: Eric Molitor
>            Assignee: Don Brown
>             Fix For: 2.1.1
>
>         Attachments: StreamResult.patch
>
>
> This patch allows the parameters for the stream result
to be read from
> the stack. I seem to be having issues running the unit
tests so none
> are included. (I'll probably work on some later).
Precedence is given
> to values on the stack over values in the XML file.
> I plan to use the patch as follows
> In xwork.xml I create a global stream result..
> <result name="stream"
type="stream" />
> Then in my actions I create getter methods for the
various parameters
> (probably just contentDisposition, contentType, and
contentLength) and
> then just return "stream" as the result of my
execute method.

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


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )