<jsp:include>
The <jsp:include> action provides a mechanism for including additional static and dynamic resources in the current JSP page. The syntax for this action is as follows:
<jsp:include page="urlSpec" flush="true" />
and
<jsp:include page="urlSpec" flush="true"> <jsp:param … /> </jsp:include>
The first syntax description does a request-time inclusion, whereas the second contains a list of param subelements that are used to argue the request for the purpose of inclusion. Table 10.2 contains the attributes and their descriptions for the <jsp:include> action.
Attribute | Definition |
---|---|
page | This attribute represents the relative URL of the resource to be included. |
flush | This attribute represents ... |
Get Pure Java Server Pages™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.