SourceForge Logo
An OpenFuture project
License
Downloads
Requirements
Sources, Binaries
CVS Repository
Installation
Build
Installing Binaries
Configuration
Documentation
Release Notes
Links
OpenFuture
Project page at SourceForge

EditXML: Configuration

JSP Engine Configuration

The configuration depends upon the used JSP and servlet engine. In the following we describe the installation for Jakarta Tomcat.There is one single configuration file, where all configuration parameters are set:

WEB-INF/web.xml

This file contains the configuration of all servlets' initialization parameters.

EditXmlJspServlet

Servlet for JSP frontend. Currently, this servlet simply sets context variables and does not handle any HTTP requests. It has the following initialization parameters:

  • openfuture.editxml.servlet.EditXmlServlet: URL of the servlet handling the persistence. Usually this is of the form:
    <hostname>/editxml/servlet/EditXmlServlet

  • openfuture.editxml.locales: List of supported locales. By default, the following locales are supported:
    de_DE, en_GB

EditorServlet

This is the servlet handling the edit process. It has the following initialization parameters:

  • forwardError: JSP errors are forwarded to.

  • forwardSuccess: JSP successes are forwarded to in order to show transaction results.

DomainFromFileProviderServlet

Load the XML domains. Load this servlet before EditXmlJspServlet, since it initializes the DomainManager.

  • initfile: File name where the XML domains are defined. The file holds the XML domains as a semicolon separated list: <name>; <DTD URL>; <editor URL>; <upload directory>; <file name filter>; <URL prefix of the XML files>

action

The action servlet is the central controller servlet of the Struts Framework (although we do not like frameworks in general, this is very useful ;->).

  • application*: Base name of the ressource bundles.

  • config*: The configuration file.

  • debug*: The debug level.

  • detail*: The detail level.

Please do not modify these (*) attributes unless you know what you are doing . ;->

This completes the configuration. Now (re)start Jakarta Tomcat.


Wolfgang Reissenberger

Last modified: Sun Sep 30 14:33:24 2001