You can use the Document Editor to insert ATG servlet beans. For example, you can insert a ForEach servlet bean as follows:

The document should now contain these tags:

<dsp:droplet name="/atg/dynamo/droplet/ForEach">
  <dsp:param bean="/samples/Student_01.subjects" name="array"/>
  <dsp:oparam name="outputStart">
    <p>The student is registered for these courses:
  <dsp:oparam name="output">
    <li><dsp:valueof param="element"></dsp:valueof>
Importing servlet beans

To make a servlet bean visible in the Dynamic Element Editor, import the component into the page with dsp:importbean. For example:

<dsp:importbean bean="/atg/dynamo/droplet/ForEach"/>

Importing the servlet bean lets you refer to it without including the entire path, as in this line:

<dsp:droplet name="ForEach">

By importing a Nucleus component into the pageContext with the dsp:importbean tag, other (non-EL) references to that component can exclude the Nucleus address.