jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jones <kjo...@develop.com>
Subject Filters
Date Thu, 12 Jun 2003 21:05:15 GMT
Hi,

I'm using Cactus to test a filter. 
The filter is mapped to /*
I'm calling the filter inside a FilterTestCase like this

MyFilter filter = new MyFilter();
filter.init(filterConfig);
filter.doFilter(...);


I'm seeing the doFilter called twice, I assume this is because the
filter is mapped to /* and the cactus request is firing the filter. This
must be a common problem and I was wondering what if anything is the
work around?

Thanks

Kevin Jones


Mime
View raw message