Antonio, 

Would you then agree this is a bug or enhancement that could be made to
the XSLTResult? Maybe a flush parameter could be added to the
configuration of the result?

MG

-----Original Message-----
From: Antonio Petrelli [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2008 2:25 AM
To: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?

2008/3/10, Griffith, Michael * <[EMAIL PROTECTED]>:
>
> I believe (maybe incorrectly so) that the problem is caused by the
> XSLTResult calling close/flush when processing the result.



Mmm... It reminds me a thing.
When processing an XML file via a XML parser, the parser closes the
stream
at the end!
To work around this problem, I had to wrap the original InputStream into
an
object that overrides the "close" method, not closing the stream.

Antonio

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

Reply via email to