previous
|
index
|
next
Runtime Includes
Used to include text and/or code
at runtime
of a JSP. Syntax:
<jsp:include page="relativeURL" />
Include happens at runtime, so included files are current.
Here is a page with two include actions:
runtimeInclude.jsp
Here are the included files (same as before):
header.jsp
,
footer.jsp
Here is the URL:
http://redrock.d.umn.edu:8082/jspbook/runtimeInclude.jsp
The included files could be edited now with changes visible without re-translating the page.
previous
|
index
|
next