| |||||||
FRAMES NO FRAMES |
Render an internationalized message string to the response.
Retrieves an internationalized message for the specified locale, using the specified message key, and write it to the output stream. Up to five parametric replacements (such as "{0}") may be specified.
The message key may be specified directly, using the key
attribute, or indirectly, using the name
and property
attributes to obtain it from a bean.
JSTL: The equivalent JSTL tag is <fmt:message>. For example,
<fmt:message key="my.msg.key"> <fmt:param value="replacement text"/> </fmt:message>
Tag Information | |
Tag Class | org.apache.struts.taglib.bean.MessageTag |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
arg0 | false | true | java.lang.String | First parametric replacement value, if any. |
arg1 | false | true | java.lang.String | Second parametric replacement value, if any. |
arg2 | false | true | java.lang.String | Third parametric replacement value, if any. |
arg3 | false | true | java.lang.String | Fourth parametric replacement value, if any. |
arg4 | false | true | java.lang.String | Fifth parametric replacement value, if any. |
bundle | false | true | java.lang.String | The name of the application scope bean under which the |
key | false | true | java.lang.String | The message key of the requested message, which must have a corresponding value in the message resources. If not specified, the key is obtained from the |
locale | false | true | java.lang.String | The name of the session scope bean under which our currently selected |
name | false | true | java.lang.String | Specifies the attribute name of the bean whose property is accessed to retrieve the value specified by |
property | false | true | java.lang.String | Specifies the name of the property to be accessed on the bean specified by |
scope | false | true | java.lang.String | Specifies the variable scope searched to retrieve the bean specified by |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |