Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.
Renders an HTML LABEL that will allow you to output label:name combination that has the same format treatment as the rest of your UI controls.
{% remote_file_content https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/label-description.html %}
{% remote_file_content https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/label-attributes.html %}
<s:label key="userName" />
In this example, a label is rendered. The label is retrieved from a ResourceBundle via the key attribute giving you an output of ‘User Name: Ford.Prefect’. Assuming that i18n message userName corresponds to User Name and the action's getUserName()
method returns Ford.Prefect.