cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Blake <p...@tcp.net.au>
Subject Serving PDF's
Date Wed, 20 Mar 2002 01:01:51 GMT
Hi all,

I want to serve PDF's - nothing special, no generation or 
transformation - simply returning an existing pdf from a request.

So... I added the following to my sitemap:

    <map:match pattern="**pdf/**.pdf">
     <map:read src="resources/pdf/{2}.pdf" mime-type="application/pdf"/>
    </map:match>

I have a pile of PDF's in the /resources/pdf directory, however, none of 
them are successfully served.

Only a small amount of the original  PDF is transfered - ie. it's a 200K 
doc but less than 50K ends up at the browser and as far as acrobat is 
concerned - it's damaged.

What silly thing have I missed?

Thanks in advance,

Phil


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message