Currency tag ver. 1.5

    Custom JSP tag. Lets you format currency value. Data will be presented as a body. For example:

<%@ taglib uri="taglib.tld" prefix="set" %>


<!-- according to GERMAN locale: -->
<set:Currency locale="<%=java.util.Locale.GERMAN%>">257.67</set:Currency>

Tags are:


Body tag. Formats value presented as a body according to currency presentation rules. Parameters are:

1) locale Optional parameter: describes any valid locale. By default request's locale will be used.
2) id Optional parameter. Describes page scope variable for data (type is java.lang.String). Without this parameter tag just prints data.
3) positiveColor Optional parameter. Describes a color for the positive value
4) negativeColor Optional parameter. Describes a color for the negative value

for downloading:

Library: curtag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: