It's not a secret anymore!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Filter " Watch "Filter " New topic
Author

Filter

Amruth Puppala
Ranch Hand

Joined: Jul 14, 2008
Posts: 295
Filter init(), destroy() will be called for each request or only once in its life?


SCJP 5 |SCWCD 5| Started thinking about Web Services ?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
The javadocs for Filter.init answer this question.
Amruth Puppala
Ranch Hand

Joined: Jul 14, 2008
Posts: 295
Thanks , I got it now..

So Filter init(), destroy() methods and servlet's init(), destroy() will called similar manner.

I'm I right..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Filter