cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <>
Subject Re: Things that Cocoon needs explicitly passed
Date Thu, 07 Dec 2000 17:30:42 GMT
On Thu, Dec 07, 2000 at 10:17:22AM -0500, Berin Loritsch wrote:
> URL configuration file (works with servlet, easy to convert files)
> String classpath
> File WorkDir (needs to be guaranteed writable)
> URL Root (Should this be URL, File, or String?)

Certainly not a string. Is there really such a thing as a 'root',
or should we always use getResource/getRealPath?

> Personally I think it is bad design to determine the root from
> the parent of the cocoon.xconf file.  I want to hide that file
> in WEB-INF for security reasons--and that can't happen right
> now.

Agreed. It's *always* the root of the web application, isn't it?
Failing that, it should be specified in web.xml, I think.


Paul Russell                               <>
Technical Director,         
Luminas Ltd.

View raw message