You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alkesh <he...@hotmail.com> on 2003/02/11 05:50:55 UTC
compression filter problem
Hi
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
Re: compression filter problem
Posted by Jacob Kjome <ho...@visi.com>.
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.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg82477.html
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.
Jake
At 10:20 AM 2/11/2003 +0530, you wrote:
>Hi
>
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org