aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes FilterConfig doubt ... 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 "FilterConfig doubt ..." Watch "FilterConfig doubt ..." New topic
Author

FilterConfig doubt ...

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hi,

Is what i'm thinking true or not ?

The container gives the Filter a FilerConfig when the Filter is actually called, not at deploy time.

Please clear my doubts ...

Thanks in advance ...


Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Mirko Bonasorte
Ranch Hand

Joined: May 14, 2007
Posts: 244
Hi,

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.

I hope this helped you


SCJP<br />SCWCD 1.4 Upgrade (Remember: me stupid)<br />SCWCD 1.4<br /><a href="http://jcp.org/aboutJava/communityprocess/final/jsr220/index.html" target="_blank" rel="nofollow">SCBCD 5.0</a><br /><a href="http://www.enthuware.com" target="_blank" rel="nofollow">SCBCD 5.0 mock exam</a> <br /> <br />SCEA 5 Part1: Preparing...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FilterConfig doubt ...