問題詳情
29 Given a war file with the following structure| - WEB-INF/classes/Myservlet.class| - WEB-INF/lib/wf.jafWhere wf.jar contains a valid web-fragment.xml and the following two classes: MyFilter1.class andMyFiler2.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
參考答案