Roman number taglib ver. 1.1

    Custom JSP taglib. Lets you convert arabic numbers to roman and vice versa. For example:
 


<%@ taglib uri="taglib.tld" prefix="r" %>
<html>
...
<r:RomanNumber>2007</r:RomanNumber>
...
</html>

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

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Related links: