cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Washeim <esa...@canuck.com>
Subject Re: Cocoon with Tomcat, part (n+1) ...
Date Sat, 06 May 2000 19:12:01 GMT
on 6/5/00 9:17 pm, Robin Green at greenrd@hotmail.com wrote:

SNIP

> 
> 
> I'm unable to reproduce that solution on Tomcat 3.1 final. I can only get it
> to work with
> 
> [snip]
> <init-param>
> <param-name>properties</param-name>
> <param-value>
> /WEB-INF/cocoon.properties
> </param-value>
> </init-param>
> [snip]
> 
> Your solution should be considered unreliable I think, because it is not
> conformant to the Servlet spec, in the sense that Cocoon now uses
> ServletContext.getResource () to find its properties (see my documentation
> patch in my next email), but the Servlet API says:
> 
> ---------------------------------
> Returns a URL to the resource that is mapped to a specified path. The path
> must begin with a "/" and is interpreted as relative to the current context
> root.
> ---------------------------------

I'm not sure what the cause was, but,in any case, I went to the final tomcat
(3.1) and switched to /WEB-INF/ as both factual path (from the context root
which was webapps/cocoon, in my case) and web.xml property path setting.

Works.

Thanks and regards,
Mark

-- 
Mark (Poetaster) Washeim

'On the linen wrappings of certain mummified remains
found near the Etrurian coast are invaluable writings
that await translation.

Quem colorem habet sapientia?'

Evan S. Connell

 



Mime
View raw message