Here, when I hit http://localhost/testproj/AServlet URL in browser. It just hangs. Test3 filter is calling itself again and again. I want to execute Test3 filter just once and pass control to "AServlet" resource.