This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Filter initialization doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Filter initialization doubt" Watch "Filter initialization doubt" New topic

Filter initialization doubt

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
Filters support an initialization mechanism that includes an init() method that is guaranteed to be called before the filter is used to handle request

I think the above statement is true , please let me know if I am right

raj malhotra
Ranch Hand

Joined: Feb 22, 2007
Posts: 286
Yes its true.As filters has there own life cycle like servlet or jsp.
I agree. Here's the link:
subject: Filter initialization doubt
It's not a secret anymore!