Section 9: Designing and Developing
Reusable Web Components
9.1 Given a description of required functionality,
identify the JSP directive or standard tag in the correct
format with the correct attributes required to specify the
inclusion of a Web component into the JSP page.
- Include Directive - Translation-time
<%@ include file="relativeURL" %>
Content is parsed by JSP container.
- Include Action - Request-time
<jsp:include page="relativeURL" flush=true|false
<jsp:param name="" value=""|<%= expression > >
Content is not parsed; it is included in place. In case
of dynamic resources the result from the processing is included.