catalog |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description |
This tag loads a message catalog specified by the |
||||||||||||
Tag Body |
JSP |
||||||||||||
Restrictions |
The This tag also makes a scripting variable, specified by the |
||||||||||||
Attributes |
This 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"/> <%-- get key using scripting --%> <util:catalog id="sample" resource="sample"/> ... Message = <%= sample.getMsg("message") %> |