Use to register an actionform bean 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 dialog box, you set the following properties:
Element | Description |
---|---|
ActionForm Bean Name |
Specifies the actionform bean's name. |
ActionForm Bean Class |
Specifies that the actionform bean will take its properties from explicit methods defined in the class. |
Dynamic |
Specifies that the actionform bean will take its properties from an external configuration file, such as from the Struts configuration file. |
Note: If you want to change a registered action form bean, 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 © 2015, Oracle and/or its affiliates. All rights reserved. |