dsp:iframe
lets you use an iframe
in a page in the same way you use an iframe
tag in an HTML page. Furthermore, you can set an iframe page to accept the page parameters from its parent page.
Note:dsp:iframe
uses the iclass
attribute in place of the cascading stylesheet class
attribute to avoid using a Java reserved word in Java code.
Attributes
EmbeddedPage:srcorpage(Required)
You must use one of these attributes to indicate which page to insert into the parent page.
Attribute | Description |
---|---|
| Path and file name. Resolves relative paths using the current page as a starting point. Resolves absolute paths using the Web server doc root as a starting point. |
| Path and file name. Resolves relative paths using the current page as a starting point. Resolves absolute paths using the Web application root as a starting point by prepending the request object’s |
Example
<dsp:iframe src="GraduationAnnouncements.jsp"/>
The GraduationAnnouncements.jsp
page is embedded in a parent page as an iframe
.