Coffee Cram: Mock Exam Chapter 13
Which are true about filters? (Choose all that apply.)
A filter can act on only the request or response object, not both.
destroymethod is always a container callback method.
doFiltermethod is always a container callback method.
The only way a filter can be invoked is through a declaration in the DD.
The next filter in a filter chain can be specified either by the previous filter or in the DD.
Which are true about declaring filters in the DD? (Choose all that apply.)
Unlike servlets, filters CANNOT declare initialization parameters.
Filter chain order is always determined by the order the elements appear in the DD.
A class that extends an API request ...