I figured it was an easy solution, just couldn't find the answer for
some reason.  Many thanks!

On Thu, Dec 4, 2008 at 9:23 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Thu, 12/4/08, Burton Rhodes wrote:
>> I am trying to figure out how to serve a requested data file
>> to the user using struts 2.  The file repository on my disk
>> drive is obviously not a public folder, so I retrieve the file
>> in the action class... but I am confused as to how to send it
>> to the browser since all I can return from my action class is a
>> "result"... The result is of course mapped to a jsp file
>> ("displayFile.jsp" for example), but how do I tell display.jsp
>> to display the file output stream?
>
> http://struts.apache.org/2.x/docs/how-do-we-download-files-within-the-framework.html
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to