Reading Notes for Chapter 13, Head First Servlets and JSP
Table of Contents
p669 The Power of Filters
@@@
p670 Objectives
@@@
p671 Enhancing the entire web application
@@@
p672a How about some kind of "filter"?
@@@
p672b Fun things to do with Filters
@@@
p673 Filters are modular, and configurable in the DD
@@@
p674 Three ways filters are like servlets
@@@
p675 Building the request tracking filter
@@@
p676 A filter's life cycle
@@@
p677 Think of filters as being "stackable"
@@@
p678 Declaring and ordering filters
@@@
p679 News Flash: As of version 2.4, filters can be applied to request dispatchers
@@@
p680 Sharpen your pencil (Understanding <filter-mapping> in the DD)
@@@
p681 Compressing output with a response-side filter
@@@
p682 Architecture of a response filter
@@@
p683 But it is really that simple?
@@@
p684 The output has left the building
@@@
p685 We can implement our OWN response
@@@
p686 She doesn't know about the servlet Wrapper classes
@@@
p687 Wrappers rock
@@@
p688 Adding a simple Wrapper to the design
@@@
p689 Add an output stream Wrapper
@@@
p690 The real compression filter code
@@@
p691 Compression filter code, cont.
@@@
p692 Compression wrapper code
@@@
p693 Compression wrapper code, cont.
@@@
p694 Compression wrapper, helper class code
@@@
p695 Sharpen your pencil ANSWERS (from p. 680)
@@@
p696 Coffee Cram Q1 Q2
@@@
p697 Coffee Cram Q3
@@@
p698 Coffee Cram Q4
@@@
p699 Coffee Cram Q5 Q6
@@@
p700 Coffee Cram Answers Q1 Q2
@@@
p701 Coffee Cram Answers Q3
@@@
p702 Coffee Cram Answers Q4
@@@
p703 Coffee Cram Answers Q5 Q6
@@@
End of CISC474 reading notes for HFSJ, Chapter 13