cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: example in the Cocoon book
Date Thu, 10 Oct 2002 09:02:02 GMT
So, it works if I replace {file} by the name of the file.

We can say that is a value substitution problem!?


-----Message d'origine-----
De: Bertrand Delacretaz []
Date: jeudi, 10. octobre 2002 10:46
À: Thévoz Sylvain, IT-DCS-CPS-CLI-DAR
Objet: Re: example in the Cocoon book

On Thursday 10 October 2002 10:35, wrote:
> Here you have the root.log:
> org.apache.cocoon.ResourceNotFoundException: 
> Resource not found 
> file:/C:/jakarta-tomcat-3.3a/webapps/cocoon/download
>        at 
>        at 
>        at
>. . .

Looks like the ResourceReader is trying to read 
file:/C:/jakarta-tomcat-3.3a/webapps/cocoon/download instead of your cox.bmp 

To isolate the problem, I'd try replacing
<map:read src="download/{file}"/>
<map:read src="download/cox.bmp"/>

To find out whether the problem lies in ResourceReader or in the sitemap 
variable substition.


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message