Which of the following tags are used for implementing Composite view pattern?
-
<jsp:include ….>
-
<%include …%>
-
All of the above
-
None of the above
C
Correct answer
Explanation
Both and <%@ include %> (directive) are used for implementing the Composite View pattern, which allows composing complex views from smaller reusable components. The question uses <%include...%> (likely meaning the include directive). Both mechanisms support composite views, making 'All of the above' the correct answer.