This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
The container gives the Filter a FilerConfig when the Filter is actually called, not at deploy time.
Please clear my doubts ...
Thanks in advance ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
posted 9 years ago
the Filter.init(FilterConfig) is called before any request is for the filter. This does NOT mean that the init method is called at the first request it receives. But it's not developer's concern the time when the init method is invoked.