Question: When destroy() method of a filter is called?

Options

A : The destroy() method is called only once at the end of the life cycle of a filter

B : The destroy() method is called after the filter has executed doFilter method

C : The destroy() method is called only once at the begining of the life cycle of a filter

D : The destroyer() method is called after the filter has executed

Click to view Correct Answer

Previous || Next

Servlet more questions

What is the difference between servlets and applets?^ i. Servlets....

What is used to get class name in reflection?

Which method is used to get three-letter abbreviation for locale's....

Which of the following code is used to get an....

How is the dynamic interception of requests and responses to....

Which are the session tracking techniques?^ i. URL rewriting^ ii.....

Which of the below is not a session tracking method?

Which of the following code retrieves the body of the....

Which of the following is not true about session?

Which of the following is stored at client side?

Annotations more Online Exam Quiz

Java Beans

JDBC

JSP

JSP Elements

Reflection API

Session Management

Web application

Abrasive Jet Machining - Introduction and Machining system

Abrasive Water Jet Machining - Introduction

AJM - Applications, Advantages and limitations