We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Two Servlet Filters Every Web Application Should Have
|
Subject: |
|
GZIP Filter and exception thrown |
Date: |
|
2004-01-18 22:11:14 |
From: |
|
jfalkner
|
Response to: GZIP Filter and exception thrown
|
The filter only throws this exception if the close() method is called more than once, which it shouldn't be.... Several people have mentioned problems with using these filters and Struts, but the extent of the problem seems to be this exception.
A quick fix is to edit the filter's close() method to stop it from throwing the exception. However, I'm not going to roll the change in to the code until I have some more time to figure out what Struts is doing.
|