I had filters configured for my webapp which worked in Tomcat 4.1.12 but now
when I have installed 4.1.18 I get a blank page for *some* of my pages which
do *not* contain images. The ones that contain images look fine and the
filter works on them too. Strange problem. What must I be doing wrong?

Also can I map filters based on content-type instead of urls?

Here is my filter config:
<filter>
    <filter-name>trimfilter</filter-name>
    <filter-class>com.etilize.cms.web.filter.TrimFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>trimfilter</filter-name>    <url-pattern>*.do</url-pattern>
  </filter-mapping>
<!--
   <filter>
    <filter-name>gzipfilter</filter-name>
    <filter-class>com.etilize.cms.web.filter.GZIPFilter</filter-class>
            <init-param>
          <param-name>compressionThreshold</param-name>
          <param-value>10</param-value>
        </init-param>
  </filter>
  <filter-mapping>
    <filter-name>gzipfilter</filter-name>
    <url-pattern>*.do</url-pattern>
  </filter-mapping>
  -->
Thanks a lot,
Affan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to