Use to register an actionform bean's properties in the struts-config.xml
file.
An actionform bean acts as a bridge between a JSP page and a Struts action. It captures user input from the JSP pages and delivers it to the action. An actionform bean can also validate the input before passing it on to the action.
In the Add ActionForm Bean Property dialog box, you set the following properties:
Element | Description |
---|---|
ActionForm Bean Name |
Specifies the actionform bean to which the properties will apply. |
Property Name |
Specifies the property that you want to register. |
Property Type |
Specifies the property type. |
Single Property |
Specifies that the property will be single, and its initial value. |
Array Property |
Specifies that the property will be an array, and its size. |
Note: If you want to change a registered actionform bean property, you can do so by manually editing the XML tags in the struts-config.xml file.
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |