previous
|
index
|
next
The
include
Directive
Used to include text and/or code
at translation time
of a JSP. Syntax:
<%@ include file="relativeURL" %>
Included file must be part of a web application
Include happens before compile time, so no runtime performance loss
A commonly used feature of JSP
Here is a page with two include directives:
content.jsp
Here are the included files:
header.jsp
footer.jsp
Here is the URL:
http://redrock.d.umn.edu:8082/jspbook/content.jsp
previous
|
index
|
next