When the web-app is deployed, or the first time, a servlet is called, that is mapped to this filter?
posted 9 years ago
That's up to the servlet container, although probably just before it is first invoked. Note that there's no guarantee that there will only ever be a single instance of the filter. In other words, "init" may be called multiple times, each time for a different instance of the filter.