Loads the webapp properties based on servlet context information.
Returns a Properties object containing the settings, or null if unable
to load it. (The default file is WEB-INF/jspwiki.properties, and can
be overridden by setting PARAM_PROPERTYFILE in the server or webapp
configuration.)
Cascading Properties
You can define additional property files and merge them into the default
properties file in a similar process to how you define cascading style
sheets; hence we call this cascading property files. This way you
can overwrite the default values and only specify the properties you
need to change in a multiple wiki environment.
You define a cascade in the context mapping of your servlet container.
jspwiki.properties.cascade.1
jspwiki.properties.cascade.2
jspwiki.properties.cascade.3
and so on. You have to number your cascade in a descending way starting
with "1". This means you cannot leave out numbers in your cascade. This
method is based on an idea by Olaf Kaus, see [JSPWiki:MultipleWikis].
|