- Introduction
- Sitemap
- Control Flow
- Modularization (Blocks)
-
Configuration & Initialization
- Overview
- Property Configuration
- Logging
- Logging Configuration
- Component Configuration
- Web application structure
- Project Reports
Web application structure
Content of a Cocon Web Application
If you want to use Cocoon from within a web application, it expects following directory structure and files:
Path |
Pattern |
Description |
---|---|---|
WEB-INF/web.xml |
- |
Central configuration file for Java web applications. Find details below. |
WEB-INF/cocoon/applicationContext.xml |
- |
Global spring context. Cocoon is initialized here. Find details below. |
WEB-INF/cocoon/log4j.xconf |
- |
The logging configuration. |
WEB-INF/cocoon/properties | *.properties | |
WEB-INF/cocoon/properties/[running-mode] | *.properties | |
* |
Cocoon web application (Note: Usually Cocoon applications are developed as blocks. This means that there is nothing in here.) |
web.xml
TBD
applicationContext.xml
TBD