5.6. Declaring Filters
Servlet version 2.3 introduced the concept of filters. Although filters are supported by all servers that support version 2.3 of the servlet API, you must use the version 2.3 DTD in web.xml in order to use the filter-related elements. For details on the DTD, see Section 5.1 (Defining the Header and Root Elements).
|
Filters are discussed in detail in Chapter 9, but the basic idea is that filters can intercept and modify the request ...
Get More Servlets and JavaServer Pages™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.