cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Britton" <>
Subject Sitemap Question
Date Wed, 20 Dec 2000 22:22:07 GMT
Can someone tell me why this works:

  <map:match pattern="images/**.jpg">
    <map:read src="resources/images/{1}.jpg" mime-type="image/jpg"/>

and this does not:

  <map:match pattern="/images/**.jpg">
    <map:read src="/resources/images/{1}.jpg" mime-type="image/jpg"/>

I am trying to make all images be served from the servlet context root.

View raw message