<html>
<head>
<title>&lt;jsp:include&gt;</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="Description">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">&lt;jsp:include&gt;</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description">


<p>The <span class="LITERAL">&lt;jsp:include&gt;</span> action includes the
response from another JSP page, servlet, or static file in the same
web application. The execution of the current page continues after
including the response generated by the target resource.
</p>

<p>When the <span class="LITERAL">&lt;jsp:include&gt;</span> action is executed,
the buffer is flushed of any response content. Although the
<span class="LITERAL">flush</span> attribute can control this behavior, the
only valid value in JSP 1.1 is <span class="LITERAL">true</span>. This
limitation will likely be lifted in a future version of JSP.
</p>

<p>Even in the target resource, the URI path information available
through the implicit <span class="LITERAL">request</span> object reflects the
URI path information for the source JSP page. All other request
information is also left untouched, so the target resource has access
to all the original parameters and headers passed with the request.
Additional parameters can be passed to the target resource through
<span class="LITERAL">&lt;jsp:param&gt;</span> elements in the
<span class="LITERAL">&lt;jsp:include&gt;</span> element's body.
</p>
<p>Example:</p>

<span class="PROGRAMLISTING"><pre>&lt;jsp:include page="navigation.jsp" /&gt;</pre></span>

</td></tr>
</table>
</div>
<div id="page">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">page</td>
<td valign="top" class="COMPATIBILITY"><span class="LITERAL">String</span></td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage">Request-time value accepted: yes</td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Mandatory. A page- or context-relative URI path for the resource to include.
</p></td>
</tr>
</table>
</div>
<div id="flush">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">flush</td>
<td valign="top" class="COMPATIBILITY"><span class="LITERAL">String</span></td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage">Request-time value accepted: no</td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Mandatory in JSP 1.1, with <span class="LITERAL">true</span> as the only accepted value.
</p></td>
</tr>
</table>
</div>
</body>
</html>