block « Filter « JSP-Servlet Q&A

1. How to block a IP address using web.xml?

How can I block a ip address with some configuration on web.xml? Do I need a filter? How can I implement one?

2. Can a Filter block downstream processing ?

Bear Bibeault wrote: Ranjeetitm Singh wrote:Hi all, I have a confusion in Filters . Is it possible for a filter to explicitly block all downstream processing ( by all other filters and resource processors) What I mean is ,if there are say 3 filters all applied on Servlet, in order Filter_1 -------> Filter_2 -----> Filter_3 ------> Servlet then is it possible ...

4. Filter is blocking acces to servlet