Use the Filter in place of the Servlet in web framework