Custom JSP tags library lets you format numbers for the output.
Tag WriteNumber will add the appropriate suffix th, st, nd and rd to a given number.
For example:
<%@ taglib uri="taglib.tld" prefix="w" %> <w:WriteNumber>99</w:WriteNumber> Tags are: WriteNumber Body tag lets you add the appropriate suffix th, st, nd and rd to a given number. Tag's body presents a number. Attributes are: 1) id Optional attribute. Describes a name for your page scope variable (type is java.lang.String). Without this attribute tag simply prints data for downloading: Library: writenumbertag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|