Questions
Answers
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:
| | |
|
<map:generator type="myXSP" src="org.apache.cocoon.www.my_xsp"/>
| |
| | |
And then use it in a pipeline, for example:
| | |
|
<map:generate type="myXSP"/>
| |
| | |
How can I add my FAQ to this document?
Follow the instructions found in How-To Author an FAQ.
How can I suggest improvements to existing FAQs?
Given the rapid pace of change with Cocoon, many individual FAQs quickly become out-of-date and confusing to new users. If you have the relevant knowledge, please consider updating other FAQs on this page for technical errors. If you see a few typos, please consider fixing them too. Follow the instructions found in How-To Author an FAQ.
|