tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: compression filter problem
Date Tue, 11 Feb 2003 05:05:47 GMT

All I found was your web.xml file.  You'll need to re-attach your jsp and 
java files.

Note that I posted stuff about this and still haven't found a simple solution.

Jacob Hookum figured out a way to do it using the same logic as the filter 
in Tomcat's "examples" app.  However, that one seems unnecessarily 
complex.  It seems the problem is resetting the content-type  and 
content-length headers.  I try to set them, but they just don't change and 
I just don't understand why.  Must be somewhat perplexing because no one 
else came up with a reason why they weren't being set either.  Not sure if 
it is a bug in Tomcat or what???

Anyway, if you figure it out, make sure you post your solution.  I'd be 
very interested in it.  I'll do likewise.


At 10:20 AM 2/11/2003 +0530, you wrote:
>I am Developing Web application using tomcat. I want to Comopress my all 
>jsp pages in web application, for that i have make some java filter 
>classes and make changes in web.xml. but I am facing two problems
>1. in jsp i have to put header content encoding is gzip, without that 
>brower display zip data
>2. browser keep showing that page is comeing and showing progress bar in 
>status bar even data is display completely.
>here i have attached java files, jsp and web.xml
>Hope to get answer
>thank you
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message