No, both a servlet and a filter:
- are instantiated (once) when the context starts
- the
init(..) method is called
- they handle each request - first it passes through all filters and then reaches the servlet
- when the context is destroyed (i.e. when your container stops, or your application is undeployed from the manager console), the
destroy(..) method is called