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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to