Which XML element is used to declare a filter in a web application's deployment descriptor?
- filter
- filter-mapping
- servlet-filter
- web-filter
The element in the web application's deployment descriptor is used to declare a filter, specifying its name and class.
Loading...
Related Quiz
- In HTTP servlets, the _________ method is used to send error responses back to the client.
- In a situation where multiple asynchronous tasks are initiated by a servlet, how is the completion of these tasks managed?
- What is the first method called in the lifecycle of a servlet?
- The process of retrieving a connection from the pool, using it, and then returning it is known as _________.
- A filter can alter the header information of a request or response by modifying the __________.