struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <w...@wantii.com>
Subject Re: Two Docs from One Link/Action
Date Fri, 16 Sep 2011 16:29:26 GMT
I think if you find a solution it will be heavily convoluted... Why not just
zip the two documents up together and send the zip through the stream?

-Wes

On Fri, Sep 16, 2011 at 12:19 PM, Nick Broadhurst <hou1nxb@gmail.com> wrote:

> Hi folks,
>
> Trying to generate an additional document from a link/action that already
> generates one. Here is my config:
>
> <code>
>
> <action name="MedRequest" class="action.WordAction"
> method="MedicalRecordsRequest">
>
>            <result name="success" type="stream">
>
>                <param name="contentType">application/msword</param>
>
>                <param name="inputName">inputStream</param>
>
>                <param
> name="contentDisposition">filename="Med-Rec-Request.rtf"</param>
>
>                <param name="bufferSize">1024</param>
>
>            </result>
>
> </action>
>
> </code>
>
> Grasped at a couple of straws with multiple param sets and  results but
> nothing worked. I need to use result type redirect (for second doc) and
> stream at same time it seems.
>
> Thanks,
>
> Nick
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message