Yes. Since the filter applies http headers before the tapestry servlet handles the request, you should be able to do this without issue.
How is your filter set up in your web.xml? Here is mine (using pjl-comp-filter and servlet 2.4): <filter> <filter-name>compress</filter-name> <filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class> <!-- Adobe's plugin for IE chokes on gzip'ed PDFs --> <init-param> <param-name>excludeContentTypes</param-name> <param-value>application/pdf</param-value> </init-param> <init-param> <param-name>excludePathPatterns</param-name> <param-value>.*\.pdf</param-value> </init-param> </filter> <filter-mapping> <filter-name>compress</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> </filter-mapping> Paul On Thu, 2006-10-19 at 13:45 -0400, [EMAIL PROTECTED] wrote: > Has anyone gotten a compression filter to work with Tap4? I guess since Tap4 > has a single servlet, and uses lots of redirects or something, I always get > "Response already committed" for all my pages. > > Thanks, > Greg >
smime.p7s
Description: S/MIME cryptographic signature