> From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> 
> Hi list,
> 
> reading the Performance Guide Draft, it sems to me that turning XSPs
> into Generators is a good idea, is there some general way how to do
> this? Any tips, templates?

Once you run XSP once, Cocoon will compile them into Java classes (see
tomcat/work/..../org/apache/cocoon/www/my_xsp.class). After that, add
generator to the sitemap:

<map:generator type="myXSP" src="org.apache.cocoon.www.my_xsp"/>

And use it:

<map:generate type="myXSP"/>

Vadim

> 
> Cheers, Michael


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to