...
In these form tags, we are using the key attribute as discussed in the Message Resource Files tutorial. The key attribute is used by the Struts 2 framework to determine values for the other attributes (e.g. label and value). We are also using a property file associated with the EditAction class to provide the label values based on the key attribute value (see the Message Resource FileFiles tutorial for information on using Struts 2 property files).
...