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

src

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.

page

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 context root to the specified value.

Example

<dsp:iframe src="GraduationAnnouncements.jsp"/>

The GraduationAnnouncements.jsp page is embedded in a parent page as an iframe.

 
loading table of contents...