cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: downloads in Cocoon
Date Tue, 23 Aug 2005 15:47:44 GMT

On Aug 23, 2005, at 8:36 AM, Ralph Lange wrote:

> Dear Cocoon Users!
> Our setup: cocon 2.1.5.1, tomcat 5.5.4,  jdk 1.5.0.
> Does anyone know, how to give the Client the possibility to download 
> files in Cocoon? So far I,ve been experimenting with readers, but it 
> simply doesn't work. Isn't there a more elegant way to download files?

More elegant than a reader?  How so?

>  Apart from that, the mechanism shown below doesn't work:
>
>     <map:match pattern="download/**">
>             <map:read mime-type="text/css" type="resource" 
> src="{1}.txt"/>
>     </map:match>

Try a mime-type of "application/text".

HTH,
—ml—


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


Mime
View raw message