cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Howard" <coc...@leverageweb.com>
Subject RE: Stefano's changes
Date Sun, 27 Apr 2003 18:16:23 GMT
huh? how will allow-reload break upload samples? 

btw, allow-uploads (which must be what you were thinkin of?) is already 
defaulted to false, which already "breaks" the upload samples, but I think 
Chris Haul made notice of that on the sample itself.

Geoff

> -----Original Message-----
> From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Sent: Sunday, April 27, 2003 1:02 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: Stefano's changes
> 
> 
> Leo Sutic wrote:
> 
> >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>
> >  
> >
> 
> I've modified servlet but had not touched web.xml - this will break 
> upload sample(s)...
> 
> Vadim
> 
> 
> 
> 

Mime
View raw message