In order to display a component’s properties in a JSP, you first must import it so it is visible in the Document Editor. This is accomplished by an import construct modeled after Java class imports:

<dsp:importbean bean="full-component-name"/>

For example, if you import the /samples/Student_01 component, the following line is added to your file:

<dsp:importbean bean="/samples/Student_01"/>

To add a dsp:importbean tag to a page:

After you import a component, the component and its properties become available in the Dynamic Element Editor. Also, importing a component into a page lets the page omit a component’s full path name in references to it. You’re not required to import any Nucleus components.

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices