Hi,

I've been trying to use map:read to read a file from a location on the fs outside the cocoon root.

http://cocoon.apache.org/2.2/core-modules/core/2.2/846_1_1.html
is rather sparse, but I tried:

<map:match  pattern="**.msi">
               <map:read type="resource"
                   src="installer.msi"
                   mime-type="application/octet-stream" />
</map:match>


and alternatives with ../ ./ / aso. nothing seems to work with mvn jetty:run-war)

The question is: can I use map:read for this, or need I write a little servlet ?

Tia,

Romain.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to