dsp:frame acts just like the HTML frame tag in that you can use it to embed other pages or screen elements into a parent page. There is no corresponding frameset tag because you can use the standard HTML frameset tag. The DSP tag libraries tags let you access data and represent that data in your pages, but they do not handle page layout or presentation. The primary difference between the HTML frame tag and dsp:frame is that you pass page parameters and bean property values from a parent page to the child page.

Note: The dsp:frame tag 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 specify the 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:frame page="en/brokerhome.jsp"/>

In this example, brokerhome.jsp is inserted into the parent page.

 
loading table of contents...