Dreamweaver

Define a JavaBean collection for a JSP page

  1. Select Window > Bindings to display the Bindings panel.
  2. Click the Plus (+) button and select JavaBean Collection from the pop‑up menu.
  3. In the JavaBean Collection dialog box, select the collection’s class from the Collection Class pop‑up menu.

    The class is expressed in the following format:

    packagename.classname

    To list the classes in a ZIP or JAR file, click Browse and select the file.

  4. Select one of the collection’s indexed properties from the Indexed Properties pop‑up menu.
  5. (Optional) Change the default name that appears in the Item Class box.
  6. Select the bean’s scope from the Scope pop‑up menu.
  7. Click OK. The newly defined JavaBean collection appears in the Bindings panel.