| msg | ||||||||||
| Description | This tag get a message specified by the key attribute from a message catalog and writes it to the page output. Also see the catalog tag. | |||||||||
| Tag Body | Empty | |||||||||
| Restrictions | If the name attribute is not specified then a parent catalog tag is used to locate the message catalog | |||||||||
| Attributes | The tag has the following attributes: 
 | |||||||||
| Properties | None. | |||||||||
| Example(s) | <%-- get key 'message' from catalog 'sample' --%> <util:catalog resource="sample"> Message = <util:msg key="message"/> </util:catalog> <%-- get key from a named catalog --%> <util:catalog id="sample" resource="sample"/> ... Message = <util:msg name="sample" key="message"/> | |||||||||