Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread MoritzGilsdorf
>> >> Christian Gorbach wrote: >> > >> > sure. if you post your streaming snippet we can take a look... >> >> Hello, >> >> >> >> I'm trying to stream a text file I created with Velocity very similar >> to >> >> the >> >> way it is done >>

Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread Christian Gorbach
ok, what you will need is a datapump which converts an output stream to an input stream. See: http://ostermiller.org/convert_java_outputstream_inputstream.html Method 1 is the simplest: let velocity write to abytearrayoutputstream and use the byte array to construct an input stream object. voil

Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread Davor Hrg
d with Velocity very similar to > >> the > >> way it is done > >> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF here but > >> it > >> doesn't work. The text is stored in a OutputStreamWriter object. > >> Is it poss

Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread MoritzGilsdorf
----------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%3A-Stream-Text-File-with-StreamResponse-tp15611200p15611835.ht

Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread Christian Gorbach
sure. if you post your streaming snippet we can take a look... Hello, I'm trying to stream a text file I created with Velocity very similar to the way it is done http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF here but it doesn't work. The text is stored in a OutputStreamWriter

Stream Text File with StreamResponse

2008-02-21 Thread MoritzGilsdorf
han binary data with tapestry? Thanks, Moritz -- View this message in context: http://www.nabble.com/Stream-Text-File-with-StreamResponse-tp15611200p15611200.html Sent from the Tapestry - User mailing list archive at Nabble.com. --