Adding Struts form beans to a Web page

A form bean is a type of Java™ bean. The form bean stores HTML form data from a submitted client request or input data from Struts action link that a user clicked.

  1. Create a Struts enabled dynamic Web project.

  2. Create a Web page.

  3. Create a Struts form bean.

To add a Struts form bean to a Web page:

  1. In the Page Data view, expand

    Struts Form Beans.

  2. Drag your Struts form bean onto your Web page. The Insert Data Object wizard opens.

  3. Follow the instructions in the wizard to add your Struts form bean to your Web page.