cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject Stefano's changes
Date Wed, 23 Apr 2003 19:55:00 GMT
From
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104946515805696&w=2:
> 4) I also changed 'allow-reload' to false as default.

>From CocoonServlet.java:

        // get allow reload parameter, default is true
        value = conf.getInitParameter("allow-reload");
        this.allowReload = (value == null ||
value.equalsIgnoreCase("yes") || value.equalsIgnoreCase("true"));
        if (value == null) {
            if (log.isDebugEnabled()) {
                log.debug("allow-reload was not set - defaulting to
true");
            }
        }

The web.xml in the webapp included with Cocoon has:

    <init-param>
      <param-name>allow-reload</param-name>
      <param-value>yes</param-value>
    </init-param>

This seems to have gotten lost in the shuffle.

/LS


Mime
View raw message