Custom JSP tag. Provides hits counter for your JSP pages. For example:
<%@ taglib uri="taglib.tld" prefix="hit" %> <!-- updates counter and prints its value --> <hit:Counter /> <!-- updates counter and saves current value in the page scope variable --> <hit:Counter id="A"/> Hits:<%=A%> Tags are: Counter Counting hits for your JSP page. Parameters are: 1) data Optional parameter. Describes path
to file for data. By default this parameter is empty and tag will create own file
for the each your page.
ResetCounter Resets counter for your JSP page. Parameters are: 1) data Optional parameter. Describes path
to file for data. By default this parameter is empty (own counter file for the each page).
for downloading: Library: counttag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|