struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Broadhurst <hou1...@gmail.com>
Subject Two Docs from One Link/Action
Date Fri, 16 Sep 2011 16:19:18 GMT
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

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