> I don't know how to do this in a way that we can catch and 
> save the output.  Any clues?

If you want to use your cache, return the output via 

        return new ClearElement( s );

Or whatever ecs element you want to use.

If you want to get the non-cached template, return:

        TurbineVelocity.handleRequest(context, templatePath,
rundata.getOut());

In order to get the cached content, you have to store the result in a
buffer:

        TurbineVelocity.handleRequest(context, templatePath,
stringWriter or byteOutputStream);

And then return that buffer 

Why do you need to do this, is Velocity merging too slowly?



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

Reply via email to