- Server API 2.x Servlet Engine
Being a 100% pure Java servlet, Cocoon will run on any 2.x compliant servlet platform.- XML Parser with DOM support
Cocoon uses the W3C Document Object Model to specify the documents it handles and it's not based on any particular XML parser implementation using a modular and pluggable interface. These are the XML parsers currently supported:- XSL Processor with DOM support
These are the XSL processors currently supported:The bold packages are the ones distributed with Cocoon. We recommend the use of these packages since they proved to be the most stable.
Cocoon is a 100% pure Java servlet based on the JavaSoft Servlet API platform, for this reason it should work on any servlet engine that is compliant at least with the 2.0 version of the specification.
To install the servlet on your web serving environment, you should map the ".xml" extentions (or whichever extension you what to use) to the "org.apache.cocoon.Cocoon" servlet class which is contained in the Cocoon.jar file. Follow your servlet engine instructions on how to do this. Note: Cocoon.jar stores the class files as well as the default properties file. You should also make the files openxml.jar and lotusxsl.jar visible to the Cocoon servlet by either placing them in the system classpath or in the servlet repositories accessed by the Cocoon classloader.
If you want to change those properties (to change the XML, XSL engine used), extract them from the jar file, edit them following the internal instructions and tell Cocoon about it usign the "properties" initialization argument. For example:
servlet.org.apache.cocoon.Cocoon.initArgs=properties=/etc/cocoon.propertiesAfter restarting the server, any ".xml" file will be processed by Cocoon and the resulting output will be delivered to the client. Please note that XML files should contain a reference to their XSL stylesheet in order to be correctly processed. Otherwise, the XML will be processed but will be delivered without any particular style. This can be used in XSL aware clients. See the user guide for more informations on this.
Copyright (c) 1999 The
Java Apache Project.
$Id: installing.html,v 1.1.1.1 1999/03/09 23:05:10 stefano Exp $
All rights reserved.