I've used the compression filter that comes with the Tomcat examples and works fine with struts:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg94432.html Niall ----- Original Message ----- From: "Matt Sgarlata" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, April 13, 2004 2:56 PM Subject: [OT] Compression Filter > Hello everyone, > > I'm trying to set up a compression filter based on the filter available > here: http://www.jspbook.com/code.jsp. It runs fine on Tomcat. It runs > fine on Oracle 9iAS for static content and JSPs, but does not work for > Struts actions. For Struts actions, the actual ZIP content is displayed > in the browser, so I get a bunch of random characters. Has anyone run > into a problem like this before? I thought I saw something along these > lines in the archives but I couldn't find the thread again. > > I copied the HTTP headers because I thought those were probably the > source of the problem. > > Tomcat's headers (which work): > HTTP/1.1 200 OK > Set-Cookie: JSESSIONID=68A3F06FF28A48DF4FFA2412E00B811B; Path=/jroc > Content-Encoding: gzip > Content-Type: text/html;charset=ISO-8859-1 > Content-Length: 4663 > Date: Tue, 13 Apr 2004 13:38:49 GMT > Server: Apache Coyote/1.0 > > Oracle 9iAS 9.0.3's headers (which don't work): > HTTP/1.1 200 OK > Date: Tue, 13 Apr 2004 13:16:34 GMT > Server: Oracle9iAS/9.0.2 Oracle HTTP Server > Content-Length: 5422 > Set-Cookie: > JSESSIONID=2d9c159a18d44fb8aef9f439aa423d65.iy54-iDghOaUaN0Ka3D3lN4PbwSSa2SR bgSMc2SRckmTn3uInxyOaN4Ln30LmgSHc30Ka2bEqAXxmlaIiy54-iDghOaImQXH8N4OchqPbgbC pQPz8QvJpkixn6jAmljGr5XDqQLvpAe_; > Path=/jrctjava > Cache-Control: private > Content-Location: /layouts/default.jsp > Content-Encoding: gzip > Keep-Alive: timeout=15, max=100 > Connection: Keep-Alive > Content-Type: text/html;charset=ISO-8859-1 > > Any ideas? Thanks in advance! > > Matt > > > --------------------------------------------------------------------- > 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]