ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Two Servlet Filters Every Web Application Should Have
Subject:   Problem solved ^_^
Date:   2003-11-27 03:30:41
From:   anonymous2
Response to: Problem with the ByteArrayOutputStream ...

Hello all !


OK, problem solved ...
In fact in the file web.xml :


<filter-mapping>
<filter-name>CacheFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>


You need to declare your CacheFilter filter-mapping before your GZIPFilter filter-mapping ...


And then everything is ok :)


Thanks Jayson for your filters,


Thomas.


1 to 1 of 1
  1. Problem solved ^_^
    2003-12-02 15:26:36  anonymous2 [View]

    • Problem solved
      2005-01-07 04:48:16  mcr [View]

    • Problem solved ^_^
      2005-01-06 12:54:28  mcr [View]

      • Problem solved ^_^
        2005-01-06 12:55:29  mcr [View]

1 to 1 of 1