File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 9302
    
  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