dsp:include
lets you embed one page in another. For example, to embed content.jsp
in foyer.jsp
:
Open
foyer.jsp
in the Document Editor.Click Insert Document in the toolbar.
The Select a Document dialog box appears, displaying all files in the document root.
Find
content.jsp
click OK.The Document Editor inserts the
dsp:include
tag, using thepage
attribute to identify the page you are embedding:<dsp:include page="content.jsp"></dsp:include>
Note: The Document Editor assumes the included page is in the current Web application. For information about embedding pages from other Web applications, see dsp:include.