Stream Result

2009-01-16 Thread Miguel
Hello, I have a little problema using a Stream Result. I don't understand how to write to an InputStream, I've seen the solution using the StringBufferInputStream but that is deprecated and if the content is big, it may be a memory problem. So I have 2 questions: how to use the stream result withou

Re: Stream Result

2009-01-16 Thread Miguel
In the JDK docs says: Class PipedOutputStream ... Attempting to use both objects from a single thread is not recommended as it may deadlock the thread. I think I'm doing something very wrong, but how can I convert an outputStream to an inputStream without writing a string or byte array? Si quier

Re: Stream Result

2009-01-16 Thread Nils-Helge Garli Hegvik
Please ask this question on the Struts user mailing this; the Struts dev list is for the development of Struts itself. http://struts.apache.org/mail.html Nils-H On Fri, Jan 16, 2009 at 7:26 PM, Miguel wrote: > Hello, > I have a little problema using a Stream Result. I don't understand how > to