How to Use
tag in Struts 1.2.
In name
attribute, what value have to be used? Is bean name your property name?
The "name" attribute should specify the name of the bean. For example, if you're attempting to output a property from an ActionForm, the name attribute should be set to the name of the ActionForm, and the property attribute should be set to the property of the ActionForm you want to write. So in this case you might do:
If you declare a non-ActionForm bean using a tag for example, then the name attribute would be set to the name of that defined bean:
Note that the property attribute is missing in this case, in which case the tostring value of the bean itself will be displayed.