Custom JSP tags library helps you count symbols (words) in texts. Components let
you skip HTML tags and get a count of the words or characters in the given text. E.g.:
<%@ taglib uri="taglib.tld" prefix="c" %> <c:CharCounter id="A"> ... </c:CharCounter> <p>Chars: <%=A%> Tags are: CharCounter Body tag lets you get a count of the characters in a text (tag's body). Attributes are: 1) id Optional attribute. Describes a name for the page scope variable with the requested data. Type is java.lang.Integer. Without this attribute tag simply prints data. WordCounter Body tag lets you get a count of the words in a text (tag's body). Attributes are: 1) id Optional attribute. Describes a name for the page scope variable with the requested data. Type is java.lang.Integer. Without this attribute tag simply prints data. for downloading: Library: textstattag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|