I'm using the compression filter that comes bundled with Tomcats webapps/example. Works for me, so i didn't programm anything myself. Just don't map anything else than "*.jsp" with the filter because my old fellow Netscape 4.7x accepts gzip - in theory - ...but... if you compress images you won't see them. ;-) Other browsers, no problem at all.
> -----Original Message----- > From: Varley, Roger [mailto:[EMAIL PROTECTED]] > Sent: Dienstag, 11. Februar 2003 13:50 > To: 'Tomcat Users List' > Subject: RE: compression filter problem > > > 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. > > Jason Hunter has an article on Servlet Filters at > http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters. html <http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html> Page Three of the article talks specifically about Compression Filters. Regards Roger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]