Struts Configuration
The plugin is loaded in the Struts configuration file:
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
...
<!-- load base plugin -->
<plug-in className="de.odysseus.calyxo.struts.base.BasePlugIn">
<!-- optional configuration file -->
<set-property property="config" value="/WEB-INF/calyxo-base-config.xml"/>
<!-- optional module name -->
<set-property
property="module"
value="main"/>
</plugin>
...
</struts-config>
The base plugin takes an optional config parameter to specify a Calyxo Base configuration file.
The optional module parameter can be used to specify the Calyxo module name. If omitted, the Struts module prefix is taken as module name.
The Calyxo Base plugin is a prerequisite to all the other plugins provided by the Calyxo Struts component. In the configuration, it must be located before all other Calyxo Struts plugins.


