You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ovidiu Hurducas <ov...@artsoft-consult.ro> on 2006/11/21 13:52:42 UTC
Filters doesn't work properly on version 5.5.20
Hello everybody,
I have a web application that worked fine until I’ve recently upgraded
the tomcat from version 5.5.17 to 5.5.20.
The filters doesn’t work as before and don’t do the required job anymore.
So I have definitions like this in web.xml:
<filter>
<filter-name>downloader</filter-name>
<filter-class>
filters.TestFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>downloader</filter-name>
<url-pattern>/downloads/*</url-pattern>
</filter-mapping>
I want the downloader filter to take care of all requests that access
the /downloads folder and do something before the default servlet serve
the content. However the filter’s method doFilter doesn’t get called if
I’m accessing that folder. I’ve tried to delete the folder and then …
strange, the filter gets called.
These filters worked fine on version 5.5.17. There was some recent
changes on how the filters work or this might be some bug?
Cheers,
Ovidiu
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org