On 9/21/06, Yonik Seeley <[EMAIL PROTECTED]> wrote:
On 9/20/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
> ...isn't that what the "media-type" attribute of <xsl:output/> is for?

Is it somehow possible to grab that and return it from
RequestHandler.getContentType()?...

Yes, it works, thanks for the idea!

But this means that, in my XSLTResponseWriter, the Transformer object
has to be available in both the getContentType(...) and write(...)
methods.

What's the recommended way of storing the Transformer object so that
both methods can use it, in a threadsafe way? With plain Servlet
interfaces, I'd store it in a ServletRequest attribute.

Is there something like request attributes in SolrQueryRequest or
SolrQueryResponse, which can be used to share context between the
various objects processing a request, without influencing the
response?

-Bertrand

Reply via email to