Here's my web.xml, it's servlet2.3. Still no luck. Could be Websphere :| [10/19/06 14:40:49:096 EDT] 2a73e0b6 SRTServletRes W WARNING: Cannot set header. Response already committed. [10/19/06 14:40:49:096 EDT] 2a73e0b6 WebGroup E SRVE0026E: [Servlet Error]-[Filter [GzipFilter]: filter is unavailable.]:
<filter> <filter-name>HibernateThreadFilter</filter-name> <filter-class>ca.gc.publiservice.commontools.hibernate.filters.HibernateThreadFilter</filter-class> </filter> <filter> <filter-name>GzipFilter</filter-name> <filter-class>ca.gc.publiservice.commontools.web.GzipFilter</filter-class> </filter> <filter-mapping> <filter-name>GzipFilter</filter-name> <!--<servlet-name>pctadmin</servlet-name>--> <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>HibernateThreadFilter</filter-name> <servlet-name>pctadmin</servlet-name> </filter-mapping> -----Original Message----- From: Paul Ferraro [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 2:19 PM To: Tapestry users Subject: Re: [slight OT] GZip compression filter 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]