Custom JSP taglib. Lets you convert arabic numbers to roman and vice versa. For example:
and you will get MMVII
Tags are:
RomanNumber
Body tag converts arabic number in its body into roman number. Attributes are:
1) id Optional parameter. Describes a name for your page scope variable (type is java.lang.String) for the calculated data. Without this parameter tag just prints data.
ArabicNumber
Body tag converts roman number in its body into arabic number. Attributes are:
1) id Optional parameter. Describes a name for your page scope variable (type is java.lang.Integer) for the calculated data. Without this parameter tag just prints data.
for downloading:
Library: romantag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.
Related links: