This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question 5 of Chapter 13 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question 5 of Chapter 13" Watch "Question 5 of Chapter 13" New topic
Author

Question 5 of Chapter 13

L. Wei
Ranch Hand

Joined: May 01, 2008
Posts: 37
HFSJ Chapter 13 question 5

Which about filters are true?

A. Filters may be used to create request or response wrappers.
B. Wrappers may be used to create request or response filters.

Why the book says A is true, B is false?
I don't understand why B is false. We use wrapper classes in the Filters. Please help.


SCJP SE 6.0, SCWCD J2EE 5
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Wrappers are not used to *create* filters, wrappers are used inside filters...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
L. Wei
Ranch Hand

Joined: May 01, 2008
Posts: 37
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question 5 of Chapter 13
 
Similar Threads
Doubt on Filters
Doubt in Filters HFSJ
Filters
filters
Doubt about HFSJ chapter 13 mock question 5