cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: xml-cocoon2/src/documentation/xdocs/faq faq-xsp.xml
Date Mon, 03 Jun 2002 01:18:57 GMT
shannon     2002/06/02 18:18:57

  Added:       src/documentation/xdocs/faq faq-xsp.xml
  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
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.0//EN" "../dtd/faq-v10.dtd">
  <faqs title="XSP FAQs">
     How can I turn my XSPs into Generators to get better performance?
     <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>
  <map:generator type="myXSP" src="org.apache.cocoon.www.my_xsp"/>
  <p>And then use it in a pipeline, for example: </p>
  <map:generate type="myXSP"/>

In case of troubles, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message