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

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "FilterConfig doubt ..." Watch "FilterConfig doubt ..." New topic

FilterConfig doubt ...

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585

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

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="" target="_blank" rel="nofollow">SCBCD 5.0</a><br /><a href="" target="_blank" rel="nofollow">SCBCD 5.0 mock exam</a> <br /> <br />SCEA 5 Part1: Preparing...
subject: FilterConfig doubt ...
Similar Threads
automaticall set https in url with jsp
Better way to check user session
Logging while clicking on link
I want to filter some javaranch pages for reading?
WA #1.....word association