cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Britton" <cbrit...@freefoto.com>
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"/>
   </map:match>


and this does not:

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

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

Mime
View raw message