A new document has been created. http://cocoon.zones.apache.org/daisy/legacydocs/716.html
Document ID: 716 Branch: main Language: default Name: XSP FAQs Document Type: Document Created: 9/22/05 1:57:52 PM Creator (owner): Helma van der Linden State: publish Parts ===== Content ------- Mime type: text/xml Size: 589 bytes Content: <html> <body> <h2>How can I turn my XSPs into Generators to get better performance?</h2> <p>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:</p> <pre><map:generator type="myXSP" src="org.apache.cocoon.www.my_xsp"/> </pre> <p>And then use it in a pipeline, for example:</p> <pre><map:generate type="myXSP"/> </pre> </body> </html> Collections =========== The document belongs to the following collections: legacydocs
