Given a jar file packaged with three web fragments with names X, Y and Z respectively. Which of the following deployment descriptor, web.xml, snippets correspond to the web fragment processing orders of X, Y, Z?
(i) <absolute-ordering>
<name>X</name>
<name>Y</name>
<name>Z</name>
</absolute-ordering>
(ii) <absolute-ordering>
<name>X</name>
<name>Y</name>
</absolute-ordering>
(iii) <absolute-ordering>
</others>
<name>Y</name>
<name>Z</name>
</absolute-ordering>
(iv) <absolute-ordering>
<name>X</name>
</others>
<name>Z</name>
</absolute-ordering>
(v) <absolute-ordering>
<name>X</name>
<name>Y</name>
</others>
</absolute-ordering>
A.
(i) only
B.
(i) and (ii)
C.
(i) and (iv)
D.
(i), (iii), (iv) and (v)
Explanation:
Reference:
http://blogs.oracle.com/swchan/entry/servlet_3_0_web_fragment
The Correct answer is : C
I think the correct answer is D.
The correct answer must be D
why d must be the correct answer?
Because there are only tree jars files, as such, all options in D answer will work at the same way.
D
D is the correct answer. for sure !!