The name attribute is used by Struts to associate an action with an ActionForm. If you don't specify the name attribute, the ActionForm you receive as a parameter in the execute() method of your action class will be of type ActionForm, and will not be populated with any attributes. This is generally not what you want.
The action class will be used to display corresponding data from the database for the view JSP's.Data will be displayed in the JSP pages using Value Objects(VOs).Hence,is it required to specify a form name in case of view JSP's?Please reply to this as soon as possible. Thanks in advance.
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad: