adplus-dvertising
frame-decoration

Question

Where filters are defined?

a.

Filters are defined in the deployment descriptor file web.xml.

b.

Filters are defined in the jsp pages.

c.

Both of the above.

d.

None of the above.

Posted under Web Technologies

Answer: (a).Filters are defined in the deployment descriptor file web.xml.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Where filters are defined?

Similar Questions

Discover Related MCQs

Q. Which of the following is true about isThreadSafe Attribute?

Q. Which of the following depicts correct order of phases in JSP life cycle?

Q. Which of the following is true about response.sendRedirect(url)?

Q. What is the use of c:set tag?

Q. If a jsp is to generate a pdf page, what attribute of page directive it should use?

Q. What is the correct signature of jspDestroy() method of HttpJspPage class?

Q. Which of the following is not a jsp directive?

Q. Which of the following is true about Cleanup phase in JSP life cycle?

Q. What JSTL stands for?

Q. Which of the following is a server side technology?

Q. PageContext is instance of which class?

Q. Which of the following is true about info Attribute?

Q. Which of the following attributes are used in jsp:include tag?

Q. Which of the following is true about Initialization phase in JSP life cycle?

Q. What is the correct signature of _jspService() method of HttpJspPage class?

Q. Which of the following is not a valid attribute of a page directives?

Q. Which of the following programming languages is used to create programs like applets?

Q. The _______ specification defines an application programming interface for communication between the server and the application program

Q. State true or false: Servlets are used to generate dynamic responses to HTTP requests.

Q. Which of these functions is not a part of the servlet lifecycle