web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Chapter 10 10Web applications bundled with BES Chapter About Cocoon This section describes the Apache Cocoon and Apache Struts for which BES includes support. For more information about Apache, go the 3rd Party Documentation. The Cocoon servlet is pre-installed in the Tomcat web container upon which the Borland web container is based. The Struts framework is also pre-installed in the Borland web container. For more information about the Borland web container, go to Chapter 4, “Web components.” Cocoon is a web publishing framework that renders XML data into a number of formats including HTML, WML, PDF, and the like. These formats are based on a set of properties provided by an XSL stylesheet. All BES product offerings include the Cocoon servlet pre-installed in the Borland web container. The web.xml file contains specifications for the Cocoon servlet, which is preconfigured to point to the cocoon properties file in the WEB-INF directory of the context under which Cocoon is invoked. However, you can change this specification to point to another location. Additionally, the web.xml file includes a mapping for “*.xml” directing any such file to be processed by Cocoon. This mapping can be modified or deleted. An unmodified copy of the properties file is included as part of the Cocoon webapp (cocoon.war) distributed with BES. You can customize this file to create your own cocoon.properties file. This unmodified cocoon.properties file is compiled in with the Borland web container. As the default properties file, it is used whenever the file specified in the Cocoon servlet definition cannot be found. Cocoon is an open-source product distributed by the Apache Software Foundation. For additional information about Cocoon, see the web site: http://xml.apache.org/cocoon/ Chapter 10: Web applications bundled with BES 83

84 BES Developer’s Guide

Chapter<br />

10<br />

10Web applications bundled with BES<br />

Chapter<br />

About Cocoon<br />

This section describes the Apache Cocoon and Apache Struts for which BES includes<br />

support. For more information about Apache, go the 3rd Party Documentation.<br />

The Cocoon servlet is pre-installed in the Tomcat <strong>web</strong> container upon which the<br />

<strong>Borland</strong> <strong>web</strong> container is based. The Struts framework is also pre-installed in the<br />

<strong>Borland</strong> <strong>web</strong> container.<br />

For more information about the <strong>Borland</strong> <strong>web</strong> container, go to Chapter 4, “Web<br />

components.”<br />

Cocoon is a <strong>web</strong> publishing framework that renders XML data into a number of formats<br />

including HTML, WML, PDF, and the like. These formats are based on a set of<br />

properties provided by an XSL stylesheet.<br />

All BES product offerings include the Cocoon servlet pre-installed in the <strong>Borland</strong> <strong>web</strong><br />

container. The <strong>web</strong>.xml file contains specifications for the Cocoon servlet, which is preconfigured<br />

to point to the cocoon properties file in the WEB-INF directory of the context<br />

under which Cocoon is invoked. However, you can change this specification to point to<br />

another location. Additionally, the <strong>web</strong>.xml file includes a mapping for “*.xml” directing<br />

any such file to be processed by Cocoon. This mapping can be modified or deleted.<br />

An unmodified copy of the properties file is included as part of the Cocoon <strong>web</strong>app<br />

(cocoon.war) distributed with BES. You can customize this file to create your own<br />

cocoon.properties file. This unmodified cocoon.properties file is compiled in with the<br />

<strong>Borland</strong> <strong>web</strong> container. As the default properties file, it is used whenever the file<br />

specified in the Cocoon servlet definition cannot be found.<br />

Cocoon is an open-source product distributed by the Apache Software Foundation. For<br />

additional information about Cocoon, see the <strong>web</strong> site: http://xml.apache.org/cocoon/<br />

Chapter 10: Web applications bundled with BES 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!