cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Watson" <>
Subject Problem with 'large' STATIC pdf files
Date Sat, 20 Apr 2002 12:30:03 GMT
I'm trying to serve up static PDF files using

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

These are simply exposed as download/viewable files by <a

If I right click and download, I only get the first 32768 bytes.
The .pdf file file is 115Kb.

Bizarrely, I can download all of an 82KB one with no problem

I did a sanity check with a large (300kb) image file
served by

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

which I could right-click and save OK.

What am I doing wrong?
Why the different behaviour?
Is there anywhere where a max file size is set for static .pdf's or other
file types?

Hope somebody can help.


PS I can serve the pdf through another tomcat servlet OK
Same behaviour in ie6, opera 6.0.1, ns 4.73
Tomcat 4.0.1 Cocoon 2.0.1 WinNT4 jdk1.3.1

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