SV: SV: Struts and Compression Filter...
Hi all! I solved it. Here the port 28280 i used instead of 80/8080. When I added an http-listener at 8080, it works! /Ulf -Ursprungligt meddelande- Från: Dave Newton [mailto:[EMAIL PROTECTED] Skickat: den 19 oktober 2005 17:12 Till: Struts Users Mailing List Ämne: Re: SV: Struts and Compression Filter... Nilsson Ulf /Konsult wrote: Anyone else out there using response-manipulating-filters with struts? I've used the filter from... um... _Core Servlets and JSP_ w/ zero problems, but IIRC we mapped it to everything. Dave - 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]
SV: Struts and Compression Filter...
Thanks for link! Tried it but same problem. I'm starting to think that it might have something to do with forwards or the container... :( Anyone else out there using response-manipulating-filters with struts? TIA Ulf -Ursprungligt meddelande- Från: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Skickat: den 19 oktober 2005 15:58 Till: Struts Users Mailing List Kopia: Struts Users Mailing List Ämne: Re: Struts and Compression Filter... 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SV: Struts and Compression Filter...
That's weird... I just threw it in a Struts app and it worked (mapped it to every request by the way), so I wonder what your app is doing that breaks both filters... could very well be a flaw in both filter implementations, that's not at all out of the question. -- 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 10:35 am, Nilsson Ulf /Konsult said: Thanks for link! Tried it but same problem. I'm starting to think that it might have something to do with forwards or the container... :( Anyone else out there using response-manipulating-filters with struts? TIA Ulf -Ursprungligt meddelande- Från: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Skickat: den 19 oktober 2005 15:58 Till: Struts Users Mailing List Kopia: Struts Users Mailing List Ämne: Re: Struts and Compression Filter... 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] - 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]
Re: SV: Struts and Compression Filter...
Nilsson Ulf /Konsult wrote: Anyone else out there using response-manipulating-filters with struts? I've used the filter from... um... _Core Servlets and JSP_ w/ zero problems, but IIRC we mapped it to everything. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]