RE: Re: Struts 1 return stream (documents)

2008-03-18 Thread Griffith, Michael *
; MG -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, March 18, 2008 9:48 AM To: user@struts.apache.org Subject: Re: Struts 1 return stream (documents) The techniques shown in the earlier examples would work equally well in the byte strea

Re: Struts 1 return stream (documents)

2008-03-18 Thread Laurie Harper
The techniques shown in the earlier examples would work equally well in the byte stream example. How you determine the source of the data to send back to the browser is really up to you. - configure it statically in struts-config.xml (as per the first two exxamples - take it from a request p

Re: Struts 1 return stream (documents)

2008-03-17 Thread bhaarat Sharma
Quick question in all other examples on that page they show how the fileName is retrieved. But for Byte Array Example they do not mention anything regarding the fileName. How are we suppose to supply the fileName? On Mon, Mar 17, 2008 at 10:41 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- bh

Re: Struts 1 return stream (documents)

2008-03-17 Thread Dave Newton
--- bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Thanks! I remember you helped me with similar problem in S2 as well I'm very good at using the work of others to make me look good ;) Dave - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Struts 1 return stream (documents)

2008-03-17 Thread bhaarat Sharma
yes, that worked! Thanks! I remember you helped me with similar problem in S2 as well On Mon, Mar 17, 2008 at 10:07 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > Does this help? > > http://wiki.apache.org/struts/StrutsFileDownload > > Dave > > > > --- bhaarat Sharma <[EMAIL PROTECTED]> wrote: >

Re: Struts 1 return stream (documents)

2008-03-17 Thread Dave Newton
Does this help? http://wiki.apache.org/struts/StrutsFileDownload Dave --- bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Hello, > > I started struts by learning struts2. However, now i am working with > struts 1: ( > > I am faced with a problem where user downloads a file. > > I have this in t