String conversion taglib ver. 1.5


    Custom JSP taglib lets you convert strings. Tag lets you convert own body to the given encoding. For example:
 


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

<cv:convert>
 this text will be converted to UTF8
</cv:convert>

Tags are:

convert

Body tag converts own body to the given encoding.

1) id Optional parameter. Describes a name for page scope variable (type is java.lang.String) for converted data. Without this parameter tag just prints data.
2) source Optional parameter. Describes a source encoding. By default tag will use the current encoding
3) target Optional parameter. Describes a target encoding. By default it is UTF8
4) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (convert).

for downloading:

Library: converttag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: