|
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 |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd"><web-app> <filter> <filter-name>helloWorld</filter-name> <filter-class>com.phoenix.filter.HelloWorldFilter</filter-class> </filter> <filter> <filter-name>message</filter-name> <filter-class>com.phoenix.filter.MessageFilter</filter-class> <init-param> <param-name>message</param-name> <param-value>A message to you!</param-value> </init-param> </filter> <filter> <filter-name>prePost</filter-name> <filter-class>com.phoenix.filter.PrePostFilter</filter-class> </filter> <filter> <filter-name>gzip</filter-name> <filter-class>com.phoenix.filter.GZIPFilter</filter-class> </filter> <filter-mapping> <filter-name>gzip</filter-name> <url-pattern>/fine.jsp</url-pattern></filter-mapping> </web-app>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
