I *vaguely* remember solving that problem for the CompressionFilter in Java Web Parts (http://javawebparts.sourceforge.net). IIRC, it had something to do with... well, never mind, I don't remember! :) The point is though that the problem affected output from servlets but not directly-accessed resources, which sounds eerily familiar. Maybe you could try the JWP version of the filter and see if it works? If it does I can check the revision history and see what I changed to fix it (I'm sure I noted the change in the history at least, so I know what version the fix appeared in).
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, October 19, 2005 8:13 am, Nilsson Ulf /Konsult said: > Hi! > > I'm trying to add a compression filter, > http://archive.moreservlets.com/Filter-Code/filters/WEB-INF/classes/more > servlets/filters/CompressionFilter.java > To my web-app. > I want the filter to compress everything that the action servlet returns > (forwards). (mapping = *.do) > > However I can't get this to work. Pages just return empty. > (the filter works for *.jsp etc) > > I'm using Struts 1.2.4 and a servlet 2.3 container (Sybase EAServer). > > > Has anyone out there successfully used compression filters with struts? > > TIA, > Ulf Nilsson > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]