tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Kousa <kai.ko...@jadecon.fi>
Subject How to GZIP output from Tiles 2?
Date Mon, 14 Jul 2008 07:00:37 GMT

I tried to write my own GZIPFilter that would do the trick of 
compressing HTML outputted from Tiles but I get the following exception 
when I try to get the OutputStream from HttpServletResponse for GZipping:

java.lang.IllegalStateException: getWriter() has already been called for 
this response

Is there any way enable compression in Tiles? Or some other solution(s) 
to circumvent this problem?

View raw message