Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 36344 invoked by uid 500); 3 Jun 2002 01:18:59 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 36334 invoked by uid 500); 3 Jun 2002 01:18:59 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 3 Jun 2002 01:18:57 -0000 Message-ID: <20020603011857.46562.qmail@icarus.apache.org> From: shannon@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/documentation/xdocs/faq faq-xsp.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N shannon 2002/06/02 18:18:57 Added: src/documentation/xdocs/faq faq-xsp.xml Log: Add faq file for XSP. Used one of Vadim's helpful answers from cocoon-users to serve as initial content. Revision Changes Path 1.1 xml-cocoon2/src/documentation/xdocs/faq/faq-xsp.xml Index: faq-xsp.xml =================================================================== How can I turn my XSPs into Generators to get better performance?

Cocoon will compile your XSP files into Java classes the first time they are requested. You can find them in your work directory, for example in tomcat/work/.../org/apache/cocoon/www/my_xsp.class. Once your XSP file is compiled, you can declare a new generator in your sitemap, for example:

]]>

And then use it in a pipeline, for example:

]]>
---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org