When one access “/” of the above web application, which filters will be executed?

Given a war file with the following structure
| – WEB-INF/classes/Myservlet.class
| – WEB-INF/lib/wf.jaf
Where wf.jar contains a valid web-fragment.xml and the following two classes: MyFilter1.class and MyFiler2.class.
The web-fragment.xml is as follows:


The following are some code snippets:


When one access “/” of the above web application, which filters will be executed?
A. No filters will be executed.
B. MyFilter1
C. MyFilter2
D. MyFilter1 and MyFilter2

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.