cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enke, Michael" <>
Subject Re: zip/gzip serializer?
Date Tue, 20 Aug 2002 10:16:58 GMT
Jens Lorenz wrote:
> Hi,
> > I want to download my generated data in gzipped or zipped
> > but I didn't found a gzip or zip serializer in cocoon.
> >
> > Is it possible in another way to setup this or
> > do I have to start writing such a serializer?
> Have a look at this link. This will compress Servlet output with a Servlet
> Filter.
> nippet
> Another option is to use mod_gzip of Apache httpd for this. (probably
> faster as well)

Hi Jens,
thank you for your answer.
But I do not want to get ALL output from cocoon compressed.
I want:
For a request data.csv get it as text,
for a request data.csv.gz get it as gzipped data,
for a request get it as zipped data.

Or especially for the HSSF format: I want to offer not only xls
but also Gnumeric format. And Gnumeric format is gzip compressed.

Maybe AbstractSerializer could be extended, to accept something like
<compression>gzip</compression> or <compression>zip</compression>


To unsubscribe, e-mail:
For additional commands, email:

View raw message