> I assume that what you want to do is apply an XSLT transformation on the
> *output* of a JSP page (which generates XML), right?  If so, the following
> general strategy is what you need:

Yep, this is exactly what I want to do...

> a buffer of some sort.  When the JSP page is completed (i.e. when
> the "writer"
> that you return is flushed and closed, apply the appropriate XSLT
> transformation, and then write this output to the "real" response
> object that
> you are wrapping.

The writer's close method never seems to be invoked, though :( So you can't
detect when the page is done. I'm using a custom PrintWriter, which fires an
event during a close(). The event listener will perform the XSLT and write
the result to the real PrintWriter. Any ideas how else this can be done?

Mun Wai


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

Reply via email to