Multiple choice technology web technology

Which of the following tags are used for implementing Composite view pattern?

  1. <jsp:include ….>

  2. <%include …%>

  3. All of the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Composite View pattern uses JSP include mechanisms (both the standard action and the <%@ include %> directive) to compose a page from multiple reusable sub-components. Both tags are valid for implementing this pattern, making 'All of the above' correct.